commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-247) recognize changes in included Propertiefiles
Date Fri, 05 Jan 2007 18:19:28 GMT


Oliver Heger commented on CONFIGURATION-247:

Implementing this feature is problematic because of the way include files in PropertiesConfiguration
are currently handled: The properties found in included files are simply added to the current
configuration object, and the connection to the source files is lost. One consequence of this
is that if you save such a PropertiesConfiguration, the properties loaded from included files
will be stored in the main properties file (rather than being written back to the original

Support for include files is specific to PropertiesConfiguration and no general feature of
(file-based) Configuration classes. With DefaultConfigurationBuilder and ConfigurationFactory
Commons Configuration provides a more generic means of combining properties from different
sources. The former allows defining reloading strategies for configurations that are to be
combined together. Using this class you should be able to solve your problem.

So I tend to close this issue as WON'T FIX unless you can give good reasons why you cannot
use this alternative.

> recognize changes in included Propertiefiles
> --------------------------------------------
>                 Key: CONFIGURATION-247
>                 URL:
>             Project: Commons Configuration
>          Issue Type: New Feature
>            Reporter: Mirko Wolf
> Properties-Files included in other properties-Files should be recognized by the event-listener
/ reloading-strategie set on the main properties-File. This is necessary  in case of modifications
in these included Files.
> for instance:
> ....
> mail.address=info@localhost
> ...
> when i change the value of mail.address i definitly need a restart of my application.

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