summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2016-08-20 12:35:06 -0500
committerGeorge Fraser <george@fivetran.com>2016-08-20 12:35:06 -0500
commitea0a36887374ee22e06a2009a602bcd5a479591a (patch)
tree53c91e6a6d09979961260044b1e7ad624cedb2a7 /README.md
parent4a968c78048802bd37e09a9619e7df4f2b7800d6 (diff)
downloadjava-language-server-ea0a36887374ee22e06a2009a602bcd5a479591a.zip
Parse pom.xml automatically
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index f64ecfe..1d81162 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,13 @@ Requires that you have Java 8 installed on your system.
## Usage
+## Using Maven pom.xml
+
+vscode-javac will look for a file named pom.xml in a parent directory of every open .java file.
+vscode-javac will invoke maven in order to get the build classpath, so you need to be sure `mvn` is on your system path.
+
+## Using javaconfig.json
+
The presence of a `javaconfig.json` file indicates that
its parent directory is the root of a Java module.
`javaconfig.json` looks like:
@@ -53,7 +60,11 @@ This file is usually generated by a build tool like maven.
### Examples
-### Maven
+### Maven
+
+pom.xml will be read automatically.
+
+### Maven (using javaconfig.json)
You can configure maven to output the current classpath to a file,
classpath.txt, where Visual Studio Code will find it.