commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35772] - [configuration] ConfigurationUtils.copy() does not work for XMLConfigurations with repeated keys
Date Mon, 18 Jul 2005 23:41:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35772





------- Additional Comments From jamock@mindspring.com  2005-07-19 01:41 -------
Actually... I had to do exactly what you described.  I had to traverse the 
tree and copy the property values from one configuration to another.  A clone 
method would be beneficial (I was hoping for that as well when I ran into this 
problem) for others who run into this.

Is there any other way in the Configuration API to create an XMLConfiguration 
from another without reloading from an external source?  I didn't want to have 
to keep going to the disc to get a new copy of my configuration if I didn't 
have to.
  
My big thing is the documentation needs to be updated to reflect that the 
ConfigurationUtils is not applicable to HierarchicalConfigurations.  If I knew 
this ahead of time, I would have pursued other avenues.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message