Commit Graph

28 Commits

Author SHA1 Message Date
Kris De Volder
394a7b5543 Fix NPE in resolveClasspath
Caused by unusual projects that do not use
JRE classpath container to point to
system libraries.
2018-05-22 14:45:24 -07:00
Kris De Volder
2fee63d35e Disable a test which fails in CI build 2018-05-22 12:19:52 -07:00
Kris De Volder
b8223a81fc More detailed stacktrace in CI build test fails 2018-05-22 11:40:08 -07:00
Kris De Volder
672fdc6977 Merge branch 'jdt-ls-source-jars' 2018-05-22 11:21:48 -07:00
Kris De Volder
f0307cd98c Merge branch 'master' into jdt-ls-source-jars 2018-05-22 11:15:26 -07:00
Martin Lippert
069f2d93ac added sorting of projects for initial classpath update event to speed up initial experience 2018-05-22 08:49:58 +02:00
Martin Lippert
40f615e339 make tests to work on macOS when executed as part of the maven build 2018-05-18 09:49:32 +02:00
Kris De Volder
e598039f65 Try fixing maven build junit-plugin test
InvalidThread access on Mac for unknown
reason. But maybe we can just ignore that.
2018-05-17 13:16:45 -07:00
Kris De Volder
c39953863b Add support for source-jars in JdtLs classpath service 2018-05-14 15:47:51 -07:00
Kris De Volder
b3a61025a5 Fix NPE in STS4LanguageClient related to classpath infra
Also improve test coverage around this breakage. And
improve the debugability of the tests by improving how
they log configure logger.
2018-05-11 12:31:03 -07:00
Kris De Volder
27551f6762 Dealing with project deleted on file system by user. 2018-05-10 17:20:17 -07:00
Kris De Volder
ecc2724822 Fix bug in UriUtil.normalize and add some test cases for it. 2018-05-10 15:15:52 -07:00
Kris De Volder
a9c2958ad9 Fix build by adding missing update site to jdt.ls.extension pom
Seems like stuff depending on jboss APT m2e extension was added to
jdt.ls. So if we do not add this update site our buld fails resolving
target platform for our jdt.ls.extension.
2018-05-09 15:24:49 -07:00
Kris De Volder
12e9531638 Revert "Attempt to fix failin test cases."
This reverts commit d26cf6c5d7.
2018-05-04 15:10:04 -07:00
Kris De Volder
d26cf6c5d7 Attempt to fix failin test cases. 2018-05-04 15:02:44 -07:00
Kris De Volder
6a5a023557 Handle project create and delete in jdt.ls classpath service 2018-05-04 14:19:20 -07:00
Kris De Volder
5e850fb9fd Make the new jdt.ls.extension test run as part of the build 2018-05-04 09:14:46 -07:00
Kris De Volder
689da33d90 Add a first test for jdt.ls.extension 2018-05-04 09:14:46 -07:00
Kris De Volder
e5f9366813 Merge branch 'master' of github.com:spring-projects/sts4 2018-04-30 11:24:26 -07:00
Kris De Volder
16a56a5fdc Refactor, fix and simplify classpath infrastructure 2018-04-30 10:10:56 -07:00
Kris De Volder
b2985ae4e2 Small fix for resource links in liver hover 2018-04-24 13:36:41 -07:00
Kris De Volder
d72d4b7bc8 Implement getSourceFolders in JdtLsClasspath
Also various refactoring and bug fixing
2018-04-24 11:56:05 -07:00
Martin Lippert
b8c4384441 skip maven deploy 2018-04-23 12:48:00 +02:00
Martin Lippert
410628c874 adding jdt.ls.commons to update sites and eclipse-ls-builds 2018-04-23 12:29:38 +02:00
Kris De Volder
590482c418 Implement support for Eclipse-based classpath service
Note: this requires changes to LSP4e to support
to provide the means to execute commands, by dispatching
command execution to the server that registered it.
2018-04-17 13:22:50 -07:00
Kris De Volder
8f8fbc0f8e More code moved from jdt.ls.extension to jdt.ls.commons
jdt.ls extension reduced to a simple wrapper that forwards requests
to commons implementation.
2018-04-16 16:09:11 -07:00
Kris De Volder
8d55c8e956 Cleanup debug logging 2018-04-16 14:34:10 -07:00
Kris De Volder
6f2b8be802 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.
2018-04-16 14:24:42 -07:00