[ 
https://issues.apache.org/jira/browse/CONFIGURATION-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724120#action_12724120
 ] 

Emmanuel Bourg commented on CONFIGURATION-353:
----------------------------------------------

Actually I would remove completely the static methods (or keep a generic 
setSystemProperties(Configuration) method in SystemConfiguration for the 
convenience).

In DefaultConfigurationBuilder, instead of declaring a 'systemProperties' 
attribute on the root configuration element, I would probably implement an 
"init" attribute on the system element. So initializing the system properties 
would look like this :

{code:xml}
<configuration>
  <system init="system.properties"/>
</configuration>
{code}


> Allow Commons Configuration to set system properties
> ----------------------------------------------------
>
>                 Key: CONFIGURATION-353
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-353
>             Project: Commons Configuration
>          Issue Type: New Feature
>    Affects Versions: 1.6
>         Environment: All
>            Reporter: Ralph Goers
>             Fix For: 1.6
>
>
> SystemConfiguration allows the system properties to be accessed as a 
> configuration and used in a combined configuration. However, no mechanism is 
> available to set system properties from an external file. Such a facility 
> would alleviate having to place a bunch of -D options on the command line.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to