i tried to google the question in the topic but all i could find was tutorials about the basics (installation and deployment).
I'd like to deploy a plugin that contains several .jars. Users should be able to install it through our update site.
The plugin provides a ClasspathEntry for a (custom) Java Library and consist of the jars mentioned above.
Now the Classpath-API expects absolute paths. That excludes referencing the jars inside a deployed jar.
Therefore now my question: Can i somehow deploy this plugin so that after installation the plugin lives inside the plugin-folder as a directory? I tried the different "Export Wizard" options but everytime it creates a jar which installs as a jar.
A workaround to this problem would be to extract the jar files into a temporary directory each time and reference them from there.
If you are exporting a single bundle (using PDE) you have the option to not package the plug-ins as individual JAR archives. When exporting deployable plug-ins and fragments look for the "Options" tab. On that tab there is an option that is selected by default to package the plug-ins as jars. Deselect this option and the bundle should be packaged as a directory.