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.1 release #269

Closed cherylking closed 7 months ago

cherylking commented 7 months ago

When the 24.0.0.1 release is published on 1/30/24, download the features.json from Maven Central and update in this repo. Also, install openliberty-runtime locally and generate the schema and feature list and update in this repo. Ensure the schema is generated with the correct flags and has post-processing done. See issue 223 for more details on how to do this.

cherylking commented 7 months ago

Location of features.json to download - 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 ws-featurelist.jar.