Felix does not set System properties out of framework properties
----------------------------------------------------------------
Key: PAXRUNNER-229
URL: http://issues.ops4j.org/browse/PAXRUNNER-229
Project: Pax Runner
Issue Type: Improvement
Reporter: Alin Dreghiciu
Assignee: Alin Dreghiciu
Fix For: 0.18.0
Divers pax runner scanners allows setting of framework properties. This
properties are sent to frameworks via their specific configuration file and can
be accessed via bundle context.
Even if not required by specs it seems like Equinox and Knopflerfish are
setting the framework properties as System properties. At least they do for
initial system properties from the configuration files, but could be the case
that the properties are also synchronized during the lifetime of the framework.
This is useful for bundles or apps which are not using the bundle context but
system properties for accessing properties.
But this is not the case for Felix. Felix will not set the System properties so
apps like above will fail or not use them.
E.g. Spring and spring dm using placeholders (PropertyPlaceholderConfigurer )
will fail if the values are not configured and the last resort is System
properties
To avoid such situation it will be a good improvement that framework properties
will be set also as system properties (-D) while launching Felix
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general