ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Cavedon ...@sonicsoftware.com>
Subject back slash and property files
Date Wed, 03 Jul 2002 19:58:19 GMT

I have an existing property file that contains properties such as:

INSTALL_DIR=C:\Program Files\Install Directory

This property file is used by several processes, so I want to keep the 
single back slash.

If  I then execute a replacefilter like the following:

            <replacefilter token="@INSTALL_DIR@" property="INSTALL_DIR"/>

My final property looks like:

    <Attribute name="INSTALL_DIR" type="string" value="C:Program 
FilesInstall Directory"/>

Is there any option I can use to tell ANT that the single backslash 
should not be removed during the replace?

Thanks.

Mike





--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message