ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Filtering paths into property files
Date Fri, 06 Jul 2001 07:56:16 GMT
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.

Stefan

Mime
View raw message