Skip to content

Refactor UpdateClassPathJob to provide a more general interface #1267

Merged
fbricon merged 6 commits intoeclipse-jdtls:masterfrom
Vigilans:vigilans/update-classpath
Nov 25, 2019
Merged

Refactor UpdateClassPathJob to provide a more general interface #1267
fbricon merged 6 commits intoeclipse-jdtls:masterfrom
Vigilans:vigilans/update-classpath

Conversation

@Vigilans
Copy link
Contributor

Fix #1257

@Vigilans Vigilans closed this Nov 13, 2019
@Vigilans Vigilans reopened this Nov 13, 2019
@fbricon
Copy link
Contributor

fbricon commented Nov 13, 2019

Please add some unit tests.
Make sure you sign-off your commits (you can squash them and sign the resulting commit)

@fbricon
Copy link
Contributor

fbricon commented Nov 13, 2019

add to whitelist

@snjeza
Copy link
Contributor

snjeza commented Nov 13, 2019

test this please

* Remove fs-related logic
* Restruct the signature to accept a map of <binary, source> pairs

Signed-off-by: Vigilans <vigilans@foxmail.com>
…de, exclude, sources> tuple

Signed-off-by: Vigilans <vigilans@foxmail.com>
Signed-off-by: Vigilans <vigilans@foxmail.com>
Signed-off-by: Vigilans <vigilans@foxmail.com>
Signed-off-by: Vigilans <vigilans@foxmail.com>
@Vigilans Vigilans force-pushed the vigilans/update-classpath branch 3 times, most recently from 08c09dd to 0518b27 Compare November 19, 2019 14:42
Signed-off-by: Vigilans <vigilans@foxmail.com>
@Vigilans Vigilans force-pushed the vigilans/update-classpath branch from 0518b27 to 9300730 Compare November 19, 2019 14:43
@Vigilans Vigilans closed this Nov 19, 2019
@Vigilans Vigilans reopened this Nov 19, 2019
@Vigilans
Copy link
Contributor Author

Hi @fbricon @snjeza, one unit test is added, which helps illustrate:

  • How to use the new interface (include-exclude-sourceMap pattern);
  • What will happen when jdt.ls's /lib detection and third-party client's detection are both working.

@Vigilans Vigilans closed this Nov 19, 2019
@Vigilans Vigilans reopened this Nov 19, 2019
@fbricon fbricon merged commit 8a0b8ec into eclipse-jdtls:master Nov 25, 2019
@fbricon
Copy link
Contributor

fbricon commented Nov 25, 2019

Thanks @Vigilans!

@Vigilans Vigilans deleted the vigilans/update-classpath branch November 26, 2019 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhanced Referenced Library Support Proposal

3 participants