OpenLiberty / liberty-language-server

The Liberty Config Language Server provides language server features for Liberty server configuration files through any of the supported client IDEs.
Eclipse Public License 2.0
5 stars 11 forks source link

Update cached features.json, schema and feature list to 24.0.0.6 release #278

Closed cherylking closed 2 months ago

cherylking commented 2 months ago

When the 24.0.0.6 release is published on 6/18/24, update the cached data from 24.0.0.1 to 24.0.0.6 of Liberty release. 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 https://github.com/OpenLiberty/liberty-language-server/issues/269 and https://github.com/OpenLiberty/liberty-language-server/pull/272 for previous changes/info.

cherylking commented 2 months ago

Copied this info from #273 which I will leave open for future updates.