If the propertyfile task won't work, and you're willing to build your
own version of ant, I posted a pathconvert task a while back that will
allow you to control the path sep and dir sep characters when storing a
path/fileset into a property.
Stefan Bodewig wrote:
>
> On Fri, 06 Jul 2001, Kief Morris <[EMAIL PROTECTED]> 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
--
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering
Health Language, Inc. -- "We speak the language of healthcare"
970/626-5028 (office) mailto:[EMAIL PROTECTED]
970/626-4425 (fax) http://www.healthlanguage.com