Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i export eclipse rcp product without packaging dependencies into plugins folder

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?

enter image description here

Any help is appreciated.

Thanks in advance.

like image 436
Vikram Aruchamy Avatar asked Oct 18 '22 05:10

Vikram Aruchamy


1 Answers

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.

like image 199
Vikram Aruchamy Avatar answered Oct 27 '22 10:10

Vikram Aruchamy