Anderson, Rob (Global Trade) wrote:
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat
Sent: Monday, February 12, 2007 12:05 PM
To: [email protected]
Subject: how do i use propertyfile on windows?

When ever I use the propertyfile task to add a filepath on windows it escapes the colon in front of the drive e.g. c:/ turns to c\:/ which completely messes up the path. How do I make it stop escaping characters?

thanks


I would suggest using a properties file in the same directory as the
build.xml that contains the path to the other properties file. Some this
like this...

buld.properties
================
some.other.properties=C:\Path\To\Other.properties

build.xml
================
...
<property file="build.properties"/>
<property file="${some.other.properties}"/>
...

-Rob Anderson

I need to be able to dynamically generate those paths


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to