-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support custom config files #212
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* config logic swap
…enLiberty#201) * Fix determination of Liberty Workspace for non-default server.xml * Clean up
cherylking
requested changes
Sep 5, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refrained from making comments on the tests for the most part. I will review those once you have finished your updates.
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyConfigFileManager.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyLanguageServer.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyLanguageServer.java
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyWorkspaceService.java
Show resolved
Hide resolved
...main/java/io/openliberty/tools/langserver/diagnostic/LibertyPropertiesDiagnosticService.java
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/utils/ParserFileHelperUtil.java
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyConfigFileManager.java
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/utils/XmlReader.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/test/java/io/openliberty/tools/langserver/xml/LibertyConfigFileManagerTest.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/test/resources/xml/unix/liberty-plugin-config.xml
Outdated
Show resolved
Hide resolved
cherylking
reviewed
Sep 5, 2023
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyLanguageServer.java
Outdated
Show resolved
Hide resolved
Co-authored-by: David Shi <dshi@utexas.edu>
Co-authored-by: David Shi <dshi@utexas.edu>
cherylking
requested changes
Sep 6, 2023
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyConfigFileManager.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyConfigFileManager.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyConfigFileManager.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/main/java/io/openliberty/tools/langserver/LibertyWorkspaceService.java
Outdated
Show resolved
Hide resolved
liberty-ls/src/test/java/io/openliberty/tools/langserver/xml/LibertyConfigFileManagerTest.java
Outdated
Show resolved
Hide resolved
… for downloads Make sure Windows paths are converted to use forward slash Test different approach for unix/windows systems Use URI.getPath for windows Paths.get Try removing initial slash when checking windows path Fix default file check with File.separator Fix windows test string
This was referenced Sep 6, 2023
cherylking
approved these changes
Sep 6, 2023
dshimo
added a commit
that referenced
this pull request
Oct 10, 2023
* Process liberty-plugin-config.xml to parse and store list of custom config files, upon startup and file changes to the XML * Fix uri string mismatch across all methods and classes. * Add check for config file path, moved from IDE client-side filewatch filtering * Make sure Github build/test actions are separate. Suppress progress tracking for downloads Co-authored-by: David Shi <dshi@utexas.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #66
NOTICE: Will require IDE plugins to monitor
liberty-plugin-config.xml
to send to LCLS, alongside all.properties
and.env
filesChanges:
LibertyConfigFileManager.java
liberty-plugin-config.xml
env
andproperties
file here, instead of on IDE client-sideLibertyWorkspaceService.java
Various files: