Richard S. Hall skrev:
Felix only uses configuration properties started with org.osgi or felix, so there is no point in copying in other properties since Felix will never look at them.

As for bundles, BundleContext.getProperty() is backed by system properties, so it is not necessary to do any copying for bundles.

The main use case for copying the system properties was to allow people to override the configured values in config.properties on the command line (i.e., "-D").

-> richard

Ok thanks that explains it
Per Hermansson wrote:
Hi,
The documentation isn't clear about this but when copying system properties from the command line the default launcher only copies properties starting with felix and org.osgi.framework.
Wouldn't it be better to copy all properties instead?
Or at least override a configuration property which is also set as a system property?

/Per

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to