Commit Graph

864 Commits

Author SHA1 Message Date
Kris De Volder
d4d6f89d1a Don't index non-boot project in SpringIndexer 2018-05-22 16:23:09 -07:00
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
BoykoAlex
984eafc2c0 PT #157668103: Switch to Gson where possible - except Bosh 2018-05-17 16:39:13 -04: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
564a211929 Cleanup verbose debug info messages 2018-05-10 15:37:00 -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
BoykoAlex
bf7e0068e0 Make timeout time moderate for live hints tests 2018-05-10 17:29:16 -04:00
BoykoAlex
a88a33a647 Bump up live hints timeout for tests 2018-05-10 17:06:06 -04:00
nsingh
a640a62121 Remove live hover optimisation
Does not work when stopping running apps and having multiple editors
open.
2018-05-10 09:59:42 -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
7a7e0f71c8 Merge branch 'master' of github.com:spring-projects/sts4 2018-05-09 15:07:41 -07:00
Kris De Volder
56a6f9fea4 Fix NPE from JdtLsProjectCache 2018-05-09 14:28:09 -07:00
BoykoAlex
0f04a67643 Hovers navigation for theia-spring-boot 2018-05-09 14:31:15 -04:00
nsingh
7f4967d0a6 PT 156688501 - Re-enable live hover optimisation
Live hovers are not published by the server if there are no running apps
in two consecutive update operations in the live hover watchdog. Also
fixed test cases that test no running apps.
2018-05-07 13:58:55 -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
BoykoAlex
a6d5e3c64f PT #157196600: Sys libs jandex index located at ~/.sts4-jandex/ 2018-05-04 10:23:16 -04:00
BoykoAlex
e3301506a4 Fix unit test 2018-05-02 19:41:30 -04:00
Kris De Volder
fd67adaf40 More info log for JandexIndex lifecycle changes 2018-05-02 11:37:49 -07:00
Kris De Volder
981a1da5dc Add some info logs when JandexIndex is being (re-)built 2018-05-02 10:13:50 -07:00
nsingh
21b38e21ec Disable optimisation for live hovers until tests fixed 2018-05-02 12:59:52 -04:00
nsingh
24e5909ef1 Avoid publishing live hints if there are no running apps
If there hasn't been a change in terms of no running apps between two
consecutive updates, do not publish live hints to avoid unnecessary
messages being sent from server to client.
2018-05-02 11:35:44 -04:00
nsingh
39259b3919 Use slf4j logger 2018-05-02 06:28:37 -04:00
nsingh
3a8fac4ce1 Don't serialise nulls in Gson in SpringBootApps 2018-05-02 05:33:51 -04:00
Kris De Volder
9629b2f65b Increase highlights timeout in test harness
To see if it helps with test failing in CI build.
2018-04-30 13:05:32 -07:00
Kris De Volder
ffb8d57801 Longer stacktrace in failed tests 2018-04-30 12:43:28 -07:00
Kris De Volder
8bda4e87ce Fix compile errors 2018-04-30 12:10:26 -07:00
Kris De Volder
8d87eeb398 Cleanup: remove some obsolete code 2018-04-30 12:00:59 -07:00
Kris De Volder
b21a506f6c Fix NPE causing test failures 2018-04-30 11:58:48 -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
Martin Lippert
e0274c1618 added noop operation to spring indexer API to allow consumers to wait for other items to be completed 2018-04-30 15:12:28 +02:00
Martin Lippert
28c4cbbda4 adapted additional tests to refactored spring indexer mechanics 2018-04-30 14:52:44 +02:00
Martin Lippert
037c4e35d1 adapted additional tests to refactored spring indexer mechanics 2018-04-30 14:37:29 +02:00
Martin Lippert
7e66bd24ce refactored spring indexer to use executor service and react to project events instead of scanning workspace roots every time 2018-04-30 12:31:34 +02:00
Kris De Volder
90408661a1 Remove obsolete project with classpath file support 2018-04-24 13:55:31 -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
b9f9c8d119 Ignore failing test for obsolete functionality 2018-04-24 12:13:46 -07:00