commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-353) Allow Commons Configuration to set system properties
Date Thu, 25 Jun 2009 15:18:07 GMT


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 :

  <system init=""/>

> Allow Commons Configuration to set system properties
> ----------------------------------------------------
>                 Key: CONFIGURATION-353
>                 URL:
>             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.

View raw message