« Return to Thread: [jira] Created: (CONFIGURATION-353) Allow Commons Configuration to set system properties

[jira] Commented: (CONFIGURATION-353) Allow Commons Configuration to set system properties

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Ralph Goers commented on CONFIGURATION-353:
-------------------------------------------

I thought of that initially. It doesn't work because it doesn't happen soon enough. For example, notice that the entity resolver references a system property. Putting the attribution on the configuration element insures that system properties get set before anything else happens.

> 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.

 « Return to Thread: [jira] Created: (CONFIGURATION-353) Allow Commons Configuration to set system properties