ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kief Morris <k...@bitbull.com>
Subject Re: Filtering paths into property files
Date Fri, 06 Jul 2001 10:26:06 GMT
Stefan Bodewig typed the following on 09:56 AM 7/6/2001 +0200
>On Fri, 06 Jul 2001, Kief Morris <kief@kief.com> wrote:
>
>> The problem is when I use filtering to write the paths into the
>> properties file on the Windows platform. The paths, are correctly 
>> handled by ant (e.g. "c:\www\foo"), but those back-slashes
>> need to be escaped in order to work in the properties file:
>
>Hmm, can you use the optional propertyfile task instead?  It uses
>Properties.store() which should take care of all necessary escaping.

This looks like it could work, thanks for the pointer.

Kief


Mime
View raw message