ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jo Support <>
Subject propertyfile task and escaping
Date Tue, 14 Dec 2010 11:09:29 GMT

Scenario: Ant 1.8.0 on WinXP

is there a way to avoid escaping chars by propertyfile task?

The following task

<propertyfile file="">
	<entry  key="MY_URL" value="http://mydomain/"/>

produces the following file


that is bad.
I know there are other solutions, like echoing a new property file
(but I have a lot of other properties inside the file that I don't
have to change, and I would like not to list them just because of the
new file creation) and/or using the simple replace task (but I should
know the original value of the property to indicate the token, and I
don't know it).

Any suggestion?

Thanks a lot

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message