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 32240] - [configuration] XMLConfiguration.save() does not keep element hierarchy
Date Tue, 14 Dec 2004 22:28:37 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=32240>.
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=32240





------- Additional Comments From chrisw@sptech.com  2004-12-14 23:28 -------
I tried the HierachicalXMLConfiguration.

I get the following when I try to save:

java.lang.UnsupportedOperationException: Can't save 
HierarchicalXMLConfigurations
	at org.apache.commons.configuration.HierarchicalXMLConfiguration.save
(HierarchicalXMLConfiguration.java:199)
	at 
org.apache.commons.configuration.HierarchicalXMLConfiguration$FileConfiguration
Delegate.save(HierarchicalXMLConfiguration.java:251)
	at org.apache.commons.configuration.AbstractFileConfiguration.save
(AbstractFileConfiguration.java:324)
	at org.apache.commons.configuration.AbstractFileConfiguration.save
(AbstractFileConfiguration.java:292)
	at org.apache.commons.configuration.AbstractFileConfiguration.save
(AbstractFileConfiguration.java:260)
	at org.apache.commons.configuration.AbstractFileConfiguration.save
(AbstractFileConfiguration.java:241)
	at org.apache.commons.configuration.HierarchicalXMLConfiguration.save
(HierarchicalXMLConfiguration.java:184)
	at config.ConfigUpdate.<init>(ConfigUpdate.java:54)
	at config.ConfigUpdate.main(ConfigUpdate.java:65)
Exception in thread "main" 


-- 
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