commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Resolved: (CONFIGURATION-221) Allow system properties in config.xml
Date Sat, 26 Aug 2006 16:39:24 GMT
     [ ]

Oliver Heger resolved CONFIGURATION-221.

    Fix Version/s: Nightly Builds
       Resolution: Fixed

Found some time today so I added a unit test and applied the patch to the current 1.3 trunk.
Please double check.

Many thanks again!

> Allow system properties in config.xml
> -------------------------------------
>                 Key: CONFIGURATION-221
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: 1.2 Final
>         Environment: All
>            Reporter: Rainer Jung
>         Assigned To: Oliver Heger
>             Fix For: Nightly Builds
>         Attachments: commons-configuration_1_2_patch.txt
> The attached patch allows system properties in the filename attributes of a config.xml
file used in the factory.
> The patch is very simple, since commons-digester parses the file and has a built in capability
to do the property substitution.
> The dependency of commons-configuration to commons-digester goes up from version 1.5
to 1.6. The most recent version 1.7 of commons-digester is not necessary.
> The patch can easily be ported to 1.3 and trunk.
> Use case: often the config.xml files are contained in a distribution unit like a war
file, that should not be manipulated after packaging. The path names in config.xml need some
way of making them externally variable so that the packaging unit can be adoped to a special
environment without repackaging. By allowing system properties in the file names, this can
be done easily.
> The implementation is simple, short and low risk.
> It would be nice, if you considered the patch for inclusion in the next release.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message