ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13323] - Property files loose formating when use propertyfile task
Date Sun, 06 Jul 2003 23:56:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13323>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13323

Property files loose formating when use propertyfile task





------- Additional Comments From sgabriel@brainfuse.com  2003-07-06 23:56 -------
The heart of the solution resides in overriding the java.util.Properties to 
provide a better writing mechanism. I had to copy some of the private methods 
written in the java.util.Properties to change the loading and saving scheme of 
files. 
The PropertyFile task doesn't change except for initializing the class 
variable into EnhancedProperties class instead of java.util.Properties and 
then everything else works the same way.
This solution has been used for over a year in our project and I really would 
appreciate if one of the commiters would insert it into cvs.

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


Mime
View raw message