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.
Thanks
Oliver
[1] http://jakarta.apache.org/commons/configuration/issue-tracking.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]