Skip to content
Discussion options

You must be logged in to vote

Here is the trick:

Here is the trick to do to add a bundle to the OSGI jdt-ls server. This step is optional as we will pass the bundle path as initialization parameter to the language server !

  • Edit the config.ini file corresponding to your architecture: mac, linux, mac_arm under the folder jdtls/config_
  • Modify within the config.ini file the osgi.bundles property and include after the org.apache.commons.lang3... jar by example the BundleSymbolicName of the missing jar: java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar
osgi.bundles=...org.apache.commons.lang3_3.14.0.jar@4,reference\:file\:java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar@2,...
  • Copy the java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cmoulliard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant