Re: [equinox-dev] Usage of Variables in config.ini file

2017-09-21 Thread Vikram Aruchamy (RBEI/ETB5)
Now I am using bundle org.eclipse.osgi version 3.10.0 where EquinoxConfiguration is available. But I am not able to use environment variables in config.ini If I use osgi.bundles=c:\toolbase\test\ com.bosch.example, Product Is launched successfully. But when I use osgi.bundles=$TB_HOMEDIR$\te

Re: [equinox-dev] Usage of Variables in config.ini file

2017-09-21 Thread Vikram Aruchamy (RBEI/ETB5)
May I know from which OSGI version this method is being used? We are using OSGI 3.7.0 and there I do not find EquinoxConfiguration class. Best regards, Aruchamy Vikram RBEI/ETB27 Tel. +91 422 67-62484 From: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org] On Behalf Of

Re: [equinox-dev] Usage of Variables in config.ini file

2017-09-21 Thread Thomas Watson
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)" Sent by: equinox-dev-boun...@eclipse.orgTo:

[equinox-dev] Usage of Variables in config.ini file

2017-09-21 Thread Vikram Aruchamy (RBEI/ETB5)
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(