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
6 stars 12 forks source link

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

Open cherylking opened 9 months ago

cherylking commented 9 months ago

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.