Re: Where and how to read Configuration files

2013-08-12 Thread Emma Sesmero
Great, nicely fixed. Thank you very much. 2013/8/10 Manuel Carrasco Moñino man...@apache.org Emma, The trick seems to call clearTree before clearProperty to remove all its nodes. Commited the fix:

Re: Where and how to read Configuration files

2013-08-10 Thread Manuel Carrasco Moñino
Emma, The trick seems to call clearTree before clearProperty to remove all its nodes. Commited the fix: https://code.google.com/a/apache-extras.org/p/bond/source/detail?r=deb037bf66780a5ab03d7ec05bf2b59b7f67afd7# - Manolo On Thu, Aug 8, 2013 at 3:36 PM, Emma Sesmero emmasesm...@gmail.com

Re: Where and how to read Configuration files

2013-08-08 Thread Manuel Carrasco Moñino
Emma, I've committed a change [1] to save correctly nested entries, you weren't clearing entries before adding all the set of servers. I have modified your test to check this issue as well. I have added the index to the servers property as they suggest in theirs xml documentation [2], in this way

Re: Where and how to read Configuration files

2013-08-08 Thread Emma Sesmero
Thank you for your answer, but still get some problems. I solved the writing in the other protocol, but the DNS keeps duplicating the servers. I have modified the same test, so you could see the failure [1]. [1]

Re: Where and how to read Configuration files

2013-08-06 Thread Emma Sesmero
Hi Eric, Thank you for the info. Actually parsing the xml with the commons-configuration library is much simpler and nicer. However, although I read the documentation to update the file [1], I am having some problems because it sometimes duplicates instead of updating the value. I have been

Re: Where and how to read Configuration files

2013-07-25 Thread Eric Charles
On 25/07/2013 14:18, Emma Sesmero wrote: Hello all, Currently, I am implementing the configuration web interface and I have a couple of questions: - The documentation says that all configuration files resides in the ./conf and ./conf/META-INF folder. So what I am doing now is trying to read