ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry V. Streepy, Jr." <stre...@healthlanguage.com>
Subject Re: Filtering paths into property files
Date Fri, 06 Jul 2001 14:33:49 GMT
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 <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

-- 
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:streepy@healthlanguage.com
970/626-4425 (fax)              http://www.healthlanguage.com

Mime
View raw message