Using variables in config.ini property OSGI.bundles [message #1772934] |
Tue, 19 September 2017 04:45 |
Vikram Aruchamy Messages: 1 Registered: September 2017 |
Junior Member |
|
|
Config.ini file is having the property osgi.bundles which contains the list of plugins that needs to be started while launching my RCP. For Eg.:
osgi.bundles=reference\:file\:org.junit_4.8.2.v4_8_2_v20110321-1705/@4,reference\:file\:org.mortbay.jetty.server_6.1.23.v201012071420.jar@4,reference\:file\:org.mortbay.jetty.util_6.1.23.v201012071420.jar@4
Clarification :
i need to use the java variables/Environment variables in the reference of the plugins. So that i can make my rcp more flexible. Please suggest a solution.
I need something like,
osgi.bundles=reference\:file\:{ENV.USERDIR}/org.junit_4.8.2.v4_8_2_v20110321-1705/@4
Here when trying the load the bundles, JUNIT bundle should be loaded from the replaced from the environment variable USERDIR as.
c:/users/username/org.junit_4.8.2.v4_8_2_v20110321-1705
Any help is appreciated.
Thanks in advance,
Vikram
|
|
|
Powered by
FUDForum. Page generated in 0.02595 seconds