[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Usage of Variables in config.ini file

See the usage of method org.eclipse.osgi.internal.framework.EquinoxConfiguration.ConfigValues.substituteVars(Properties)
 
This should be possible today.  Is it not working for you?

Tom
 
 
 
----- Original message -----
From: "Vikram Aruchamy (RBEI/ETB5)" <Vikram.Aruchamy@xxxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx
To: "equinox-dev@xxxxxxxxxxx" <equinox-dev@xxxxxxxxxxx>
Cc:
Subject: [equinox-dev] Usage of Variables in config.ini file
Date: Thu, Sep 21, 2017 9:12 AM
 

Hello,

 

I would like to use the environment variables in configuration/config.ini file of my RCP product.

 

E.g.:

 

Osgi.bundles = reference\:file\:$myvariabename$/org.example_4.8.2.v4_8_2_v20110321-1705/@4,...

 

So that I can make my RCP product to load the bundle from the value of myvariablename(c:\test\).

 

Is it possible to use such variables? If yes how?

 

If not, I would like to edit the class which reads the config.ini file of the RCP product. Which file I need to edit in order to make use of the variables in config.ini file.. WebstartMain.java or EclipseStarter.java?

 

Any help would be appreciated.

 

Thank you very much in advance!

 

Regards,

Vikram

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_equinox-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=3-qYstlOBrDWVXBRYgDzeD3MPiHRf4H1I9lQI7v6zYs&m=I3PzYIRai_twcTcyawk2__96_y_7vT0E75PbbbcAn5g&s=cCI_Aj7bcXuSxFQnxSb6sfNv9a5MFwDu5I9xNyYlMj8&e=