You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jurgen Schlierf <ju...@jplanet.de> on 2005/12/01 16:00:57 UTC
configuration: FileChangedReloadingStrategy doesn't work for xml files within a CompositeConfiguration
I'm using a composite configuration that has some property files and xml files. Every configuration has an instance of
FileChangedReloadingStrategy. But the reload strategy works only for property files. If I call getProperty() that looks for an
property in a xml file the reload() method of AbstractFileConfiguration is never invoked.
Can anybody help?
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: configuration: FileChangedReloadingStrategy doesn't work for
xml files within a CompositeConfiguration
Posted by Oliver Heger <he...@med.uni-marburg.de>.
Yes, the URL is correct. Maybe SVN was temporary down? I can now access it.
Oliver
Jürgen Schlierf schrieb:
> I've testet with the latest 1.1.
> I've tried to get the newest version from http://svn.apache.org/repos/asf/jakarta/commons/proper/configuration. But I've got errors
> with Subclipse:
>
> RA layer request failed
> svn: REPORT request failed on '/repos/asf/!svn/vcc/default'
> svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org)
>
> Is that the correct URL?
>
> Jürgen
>
>
> -----Ursprüngliche Nachricht-----
> Von: Oliver Heger [mailto:hegero@med.uni-marburg.de]
> Gesendet: Donnerstag, 1. Dezember 2005 16:17
> An: Jakarta Commons Users List
> Betreff: Re: configuration: FileChangedReloadingStrategy doesn't work for xml files within a CompositeConfiguration
>
> Jurgen Schlierf schrieb:
>
>>I'm using a composite configuration that has some property files and xml files. Every configuration has an instance of
>>FileChangedReloadingStrategy. But the reload strategy works only for property files. If I call getProperty() that looks for an
>>property in a xml file the reload() method of AbstractFileConfiguration is never invoked.
>>
>>Can anybody help?
>>
>>
>
>
> Which version of configuration do you use? In 1.1 final there was a bug
> related to XMLConfiguration and reloading strategies, which has been
> fixed in the mean time.
>
> Can you give the newest version from SVN a try?
>
> Thanks
> Oliver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: configuration: FileChangedReloadingStrategy doesn't work for
xml files within a CompositeConfiguration
Posted by Emmanuel Bourg <eb...@apache.org>.
Hi Jurgen, if you can't get the SVN repository to work just download a
nightly build from here :
http://cvs.apache.org/builds/jakarta-commons/nightly/commons-configuration
Emmanuel Bourg
Jürgen Schlierf wrote:
> I've testet with the latest 1.1.
> I've tried to get the newest version from http://svn.apache.org/repos/asf/jakarta/commons/proper/configuration. But I've got errors
> with Subclipse:
>
> RA layer request failed
> svn: REPORT request failed on '/repos/asf/!svn/vcc/default'
> svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org)
>
> Is that the correct URL?
>
> Jürgen
>
>
> -----Ursprüngliche Nachricht-----
> Von: Oliver Heger [mailto:hegero@med.uni-marburg.de]
> Gesendet: Donnerstag, 1. Dezember 2005 16:17
> An: Jakarta Commons Users List
> Betreff: Re: configuration: FileChangedReloadingStrategy doesn't work for xml files within a CompositeConfiguration
>
> Jurgen Schlierf schrieb:
>
>>I'm using a composite configuration that has some property files and xml files. Every configuration has an instance of
>>FileChangedReloadingStrategy. But the reload strategy works only for property files. If I call getProperty() that looks for an
>>property in a xml file the reload() method of AbstractFileConfiguration is never invoked.
>>
>>Can anybody help?
>>
>>
>
>
> Which version of configuration do you use? In 1.1 final there was a bug
> related to XMLConfiguration and reloading strategies, which has been
> fixed in the mean time.
>
> Can you give the newest version from SVN a try?
>
> Thanks
> Oliver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
RE: configuration: FileChangedReloadingStrategy doesn't work for xml files within a CompositeConfiguration
Posted by J�rgen Schlierf <ju...@jplanet.de>.
I've testet with the latest 1.1.
I've tried to get the newest version from http://svn.apache.org/repos/asf/jakarta/commons/proper/configuration. But I've got errors
with Subclipse:
RA layer request failed
svn: REPORT request failed on '/repos/asf/!svn/vcc/default'
svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org)
Is that the correct URL?
J�rgen
-----Urspr�ngliche Nachricht-----
Von: Oliver Heger [mailto:hegero@med.uni-marburg.de]
Gesendet: Donnerstag, 1. Dezember 2005 16:17
An: Jakarta Commons Users List
Betreff: Re: configuration: FileChangedReloadingStrategy doesn't work for xml files within a CompositeConfiguration
Jurgen Schlierf schrieb:
> I'm using a composite configuration that has some property files and xml files. Every configuration has an instance of
> FileChangedReloadingStrategy. But the reload strategy works only for property files. If I call getProperty() that looks for an
> property in a xml file the reload() method of AbstractFileConfiguration is never invoked.
>
> Can anybody help?
>
>
Which version of configuration do you use? In 1.1 final there was a bug
related to XMLConfiguration and reloading strategies, which has been
fixed in the mean time.
Can you give the newest version from SVN a try?
Thanks
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: configuration: FileChangedReloadingStrategy doesn't work for
xml files within a CompositeConfiguration
Posted by Oliver Heger <he...@med.uni-marburg.de>.
Jurgen Schlierf schrieb:
> I'm using a composite configuration that has some property files and xml files. Every configuration has an instance of
> FileChangedReloadingStrategy. But the reload strategy works only for property files. If I call getProperty() that looks for an
> property in a xml file the reload() method of AbstractFileConfiguration is never invoked.
>
> Can anybody help?
>
>
Which version of configuration do you use? In 1.1 final there was a bug
related to XMLConfiguration and reloading strategies, which has been
fixed in the mean time.
Can you give the newest version from SVN a try?
Thanks
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org