Split jdt ls extension into two parts

One pugin to contain the bulk of the code, which is independent of jdt.ls, lsp4e and lsp4j.
Second plugin to contain the jdt.ls specific DelegateCommandHandler implementation.

This should allow us to somehow re-use the bulk of the code in STS4 eclipse, i.e. when
we have access to JDT from eclipse directly, and there is no jdt.ls process around.
This commit is contained in:
Kris De Volder
2018-04-16 14:24:42 -07:00
parent 704fdaa21d
commit 6f2b8be802
30 changed files with 206 additions and 153 deletions

View File

@@ -16,10 +16,10 @@ rm -fr ${workdir}/jars
mkdir -p ${workdir}/jars
# Use maven to build jdt ls extension
cd ../../headless-services/org.springframework.tooling.jdt.ls.extension
../mvnw \
clean package
cp target/*.jar ${workdir}/jars/jdt-ls-extension.jar
cd ../../headless-services/jdt-ls-extension
../mvnw clean package
cp org.springframework.tooling.jdt.ls.extension/target/*.jar ${workdir}/jars/jdt-ls-extension.jar
cp org.springframework.tooling.jdt.ls.commons/target/*.jar ${workdir}/jars/jdt-ls-commons.jar
# Use maven to build fat jar of the language server
cd ../../headless-services/spring-boot-language-server