[
https://issues.apache.org/jira/browse/CONFIGURATION-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723962#action_12723962 ]
Emmanuel Bourg commented on CONFIGURATION-353:
----------------------------------------------
Commons Configuration is a generic API, not a framework. We cannot make restrictive assumptions on how the API must be used. In particular we cannot judge that system properties are not worth being initialized from something else than a properties file. What if someone wants to use a INI or a plist file?
I understand the intent of the change, but I don't think SystemConfiguration should have been changed. The configuration builder is the only "framework-ish" part of Commons Configuration, this is where such changes can take place. The rest of the API should remain as generic as possible.
> 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.