Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Using variables in config.ini property OSGI.bundles(I would like to use variables that would be substituted while launching my rcp application)
Using variables in config.ini property OSGI.bundles [message #1772934] Tue, 19 September 2017 04:45
Vikram Aruchamy is currently offline Vikram AruchamyFriend
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


Previous Topic:Further on Updating the Java version in Eclipse?
Next Topic:which application is better, kapua-kura or Hawkbit-swupdate ?
Goto Forum:
  


Current Time: Mon May 25 22:07:21 GMT 2020

Powered by FUDForum. Page generated in 0.03066 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top