Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Add the Java DAP implementation
Browse files Browse the repository at this point in the history
This change bundles a pre-built binary of the Java DAP with
microsoft/java-debug#379 applied, so that we can
specify what port it should bind to.
  • Loading branch information
lhchavez committed Jun 8, 2021
1 parent 0bb3692 commit bb3699f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions languages/java.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ command = [
"-Declipse.application=org.eclipse.jdt.ls.core.id1",
"-Dosgi.bundles.defaultStartLevel=4",
"-Declipse.product=org.eclipse.jdt.ls.core.product",
"-Dcom.microsoft.java.debug.serverAddress=localhost:41010",
"-noverify",
"-Xmx256m",
"-XX:+UseConcMarkSweepGC",
Expand Down
2 changes: 1 addition & 1 deletion out/run-language-server
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ case "$LANGUAGE" in
exit 1
;;
"java")
java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -noverify -Xmx256m -XX:+UseConcMarkSweepGC -jar /config/language-server/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar -configuration /config/language-server/config_linux -data /home/runner
java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dcom.microsoft.java.debug.serverAddress=localhost:41010 -noverify -Xmx256m -XX:+UseConcMarkSweepGC -jar /config/language-server/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar -configuration /config/language-server/config_linux -data /home/runner
;;
"ballerina")
echo "No language server configured for ballerina" >&2
Expand Down
Binary file not shown.

0 comments on commit bb3699f

Please sign in to comment.