summaryrefslogtreecommitdiff
path: root/lib/JavacServices.ts
diff options
context:
space:
mode:
authorGeorgie <george@fivetran.com>2016-03-13 13:28:42 -0700
committerGeorgie <george@fivetran.com>2016-03-13 13:28:42 -0700
commit94aa576db4b05763654e5ee8ea78cb7f38e18355 (patch)
treeda1b37b7e75b868e97a44672c4cc654cb2d1e20d /lib/JavacServices.ts
parent9b47d311b255f03d4f425e080875619159728bfb (diff)
downloadjava-language-server-94aa576db4b05763654e5ee8ea78cb7f38e18355.zip
Send javaconfig to javac server
Diffstat (limited to 'lib/JavacServices.ts')
-rw-r--r--lib/JavacServices.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/JavacServices.ts b/lib/JavacServices.ts
index 7aafa06..563403f 100644
--- a/lib/JavacServices.ts
+++ b/lib/JavacServices.ts
@@ -8,6 +8,7 @@ import {MavenDependency} from './JavaConfig';
// Don't import members, just types, otherwise the tests will break
import {DiagnosticSeverity,CompletionItemKind} from 'vscode';
import {findJavaExecutable} from './Finder';
+import {JavaConfig} from './JavaConfig';
export function provideJavac(projectDirectoryPath: string,
mavenDependencies: MavenDependency[] = []): Promise<JavacServices> {
@@ -40,9 +41,7 @@ export function provideJavac(projectDirectoryPath: string,
interface JavacOptions {
path: string;
text?: string;
- classPath?: string[];
- sourcePath?: string[];
- outputDirectory?: string;
+ config?: JavaConfig;
}
export interface RequestLint extends JavacOptions {