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

Update cached features.json, schema and feature list to recent Liberty release #273

Open
cherylking opened this issue Feb 8, 2024 · 0 comments

Comments

@cherylking
Copy link
Member

cherylking commented Feb 8, 2024

When a fix release is planned for one of the IDEs, consider updating the cached data from 24.0.0.1 to the most recent version of Liberty available. We purposefully create new files with the version in the file name so that we don't end up using old cached data that has already been downloaded in the user's local .lemminx directory.

Details for updating the cached data:

Location of features.json to download (Note: you have to copy the contents and paste them into a new file) - https://central.sonatype.com/artifact/io.openliberty.features/features/versions

Easy way to generate new xsd with necessary parameters - modify the it/schema-gen-ol-it test case pom.xml to use the latest openliberty-runtime, run the test case and then copy the xsd file from the target/it/schema-gen-ol-it/target/.libertyls directory to the src/main/resources/schema/xsd/liberty directory.

After generating the xsd, you can use that same target/it/schema-gen-ol-it/target/liberty/wlp/bin/tools to generate the feature list with java -jar ws-featurelist.jar <output file location>.

See this issue and PR for previous changes/info.

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

No branches or pull requests

1 participant