[
https://issues.apache.org/jira/browse/ACE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.W. Janssen resolved ACE-445.
------------------------------
Resolution: Fixed
Committed a fix in rev #1575269:
- simplified the launcher in the handling and setting of configuration
properties:
-* (almost) all configuration properties are now passed to the OSGi framework
as framework property, except for properties starting with 'system.', which are
set as system property;
-* the 'framework.' prefix is deprecated, as it is no longer needed, but the
launcher still will strip off this prefix if supplied;
-* agent configuration properties are now regarded as framework properties, and
the agent now uses BundleContext#getProperty() to obtain its configuration
options;
-* updated and clarified the help text of the launcher.
- allow configuration options to be set as *normal* arguments of the launcher
itself, as well as system property, so, '-Dfoo=bar' and 'foo=bar' both will
work;
- simplified the semantics of the agent with respect to its configuration
handling: system properties are now regarded as default values that can be
superseded by explicitly configured values (through framework properties, or
explicit configuration). The '.retain' suffix for system properties to always
supersede framework properties is removed, as it is quite difficult to explain
and understand how they should work.
Please close if you're satisfied with the solution.
> Add an option to the launcher to set system properties
> ------------------------------------------------------
>
> Key: ACE-445
> URL: https://issues.apache.org/jira/browse/ACE-445
> Project: ACE
> Issue Type: Bug
> Components: Launcher
> Reporter: Marcel Offermans
> Assignee: J.W. Janssen
>
> The launcher supports an option file that can set various kinds of
> properties, but no system properties. Add an option to set them (via a
> "system." prefix).
--
This message was sent by Atlassian JIRA
(v6.2#6252)