commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <>
Subject Re: CombinedConfiguration not reloading
Date Wed, 29 Nov 2006 21:43:04 GMT
Thomas DeBruycker wrote:
> Hi,
> I have a question about using the CombinedConfiguration with the
> FileChangedReloadingStrategy.  For my test case I have a configuration XML
> file that contains one property file and two XML files.  Each file in the
> configuration XML file specifies a FileChangedReloadingStrategy.  The
> problem that I am seeing is the the files are not reloaded when they are
> modified.  When I tried this with a CompositeConfiguration the files were
> reloaded as I had expected.
> My questions are:
> 1) Should the CombinedConfiguration reload automatically if it's
> configuration files change?
> 2) Is it up to the user of the CombinedConfiguration to test if a reload is
> required and then call DefaultConfigurationBuilder.getConfiguration(false)
> to force the reload?
> Thanks in advance,
> Tom DeBruycker

What you describe sounds like a bug. Regarding reloads 
CombinedConfiguration should behave like CompositeConfiguration. Can you 
open a bug report in JIRA [1] and attach your test case? I will have a look.



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

View raw message