I need to export an eclipse RCP Application. While exporting, all the plugins that are added as dependencies are packaged into the product/plugins directory as show in the image. Is it possible to export the eclipse product without packaging some huge plugins and refer it from other location?
Any help is appreciated.
Thanks in advance.
You can delete the plugins from the plugins directory and adapt the config file using the environment variable like below to refer the bundles from the user defined location
This is supported in org.eclipse.equinox.launcher_V1.3.0 or higher. You can use the environment variables like
osgi.bundles=$variable_name$/bundle-name.jar.
While parsing the config file, The launcher will substitute the value of the variable and start the bundle from the specified location.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With