ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: propertyfile task issues
Date Wed, 30 Nov 2011 21:52:48 GMT
On 2011-11-30, Stefan Bodewig wrote:

> It is quite possible you'd get the same sort of escaping if you load the
> file with Properties#load and write it back with Properties#store
> outside of Ant as well.

<http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html#store%28java.io.Writer,%20java.lang.String%29>

even explicitly says so:

,----
| The key and element characters #, !, =, and : are written with a
| preceding backslash to ensure that they are properly loaded.
`----

> i.e. it isn't even Ant that is escaping the colons in your files.

Stefan

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


Mime
View raw message