Hi,
Yep, I've tried to debug the source code using it now... But didn't
help
In order to load the config.ini, equinox uses the PROP_CONFIG_AREA
variable to compose config.ini location.
If I use the FRAMEWORK_STORAGE pointing to a different location
other than the -configuration args, equinox will set the
PROP_CONFIG_AREA to its value.
// Initializes the Location objects for the
LocationManager.
// set the osgi storage area if it exists
String osgiStorage =
equinoxConfig.getConfiguration(Constants.FRAMEWORK_STORAGE);
if (osgiStorage != null)
equinoxConfig.setConfiguration(PROP_CONFIG_AREA,
osgiStorage);
------
try {
location = new
URL(configArea.getURL().toExternalForm() + CONFIG_FILE);
} catch (MalformedURLException e) {
// its ok. This should never happen
}
And what will happen is that the config.ini will not be found :(
so seems not to be possible to do what I want in current version...
unless there is something that I'm missing...
thanks
On 03/02/2016 15:38, Raymond Auge
wrote:
I think the eclipse launcher supports those as system
properties.
Sincerely,
- Ray
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev
|