@@ -6,12 +6,11 @@ import { globby } from "globby";
6
6
import * as _ from "lodash" ;
7
7
import { basename , dirname , extname , isAbsolute , join , normalize , relative } from "path" ;
8
8
import { Disposable , ProgressLocation , QuickInputButtons , QuickPickItem , Uri , window , WorkspaceFolder } from "vscode" ;
9
- import { sendInfo } from "vscode-extension-telemetry-wrapper" ;
10
9
import { Jdtls } from "../../java/jdtls" ;
11
10
import { INodeData } from "../../java/nodeData" ;
12
11
import { IExportJarStepExecutor } from "./IExportJarStepExecutor" ;
13
12
import { IClasspath , IStepMetadata } from "./IStepMetadata" ;
14
- import { createPickBox , ExportJarMessages , ExportJarStep , ExportJarTargets , getExtensionApi , toPosixPath } from "./utility" ;
13
+ import { createPickBox , ExportJarMessages , ExportJarStep , getExtensionApi , toPosixPath } from "./utility" ;
15
14
16
15
export class GenerateJarExecutor implements IExportJarStepExecutor {
17
16
@@ -34,10 +33,7 @@ export class GenerateJarExecutor implements IExportJarStepExecutor {
34
33
throw new Error ( ExportJarMessages . fieldUndefinedMessage ( ExportJarMessages . Field . WORKSPACEFOLDER , this . currentStep ) ) ;
35
34
}
36
35
let destPath = "" ;
37
- if ( stepMetadata . outputPath === ExportJarTargets . SETTING_ASKUSER || stepMetadata . outputPath === "" ) {
38
- if ( stepMetadata . outputPath === ExportJarTargets . SETTING_ASKUSER ) {
39
- sendInfo ( "" , { exportJarPath : stepMetadata . outputPath } ) ;
40
- }
36
+ if ( stepMetadata . outputPath === "" ) {
41
37
const outputUri : Uri | undefined = await window . showSaveDialog ( {
42
38
defaultUri : Uri . file ( join ( folder . uri . fsPath , `${ folder . name } .jar` ) ) ,
43
39
filters : {
0 commit comments