Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module search paths can be shared between tools. #325

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Conversation

kape1395
Copy link
Collaborator

@kape1395 kape1395 commented Feb 3, 2024

This is an attempt to resolve #323
The paths are passed to SANY and TLC. TLAPS gets the paths as well.
For visibility, I added a tree view to see the paths and their origins.
jar: paths are ignored for now but should be supported later.

image

Signed-off-by: Karolis Petrauskas <k.petrauskas@gmail.com>
Signed-off-by: Karolis Petrauskas <k.petrauskas@gmail.com>
@@ -25,10 +25,12 @@ const NO_ERROR = 0;
const MIN_TLA_ERROR = 10; // Exit codes not related to tooling start from this number
const LOWEST_JAVA_VERSION = 8;
const DEFAULT_GC_OPTION = '-XX:+UseParallelGC';
const TLA_CMODS_LIB_NAME = 'CommunityModules-deps.jar';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. This works for Java if I understand correctly, but for the TLAPS to use modules from both jars, I have to provide them both as module search paths.

By the way, I added support for using modules from zips/jars in TLAPM.

@kape1395 kape1395 merged commit d2e1743 into master Feb 4, 2024
7 checks passed
@kape1395 kape1395 deleted the module-paths branch February 4, 2024 06:29
@lemmy lemmy added the enhancement New feature or request label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

LSP: Share module search paths between the TLAPS and SANY.
2 participants