Hi,
I'm not a particularly strong user of ant so please bear with me. Is there a
way of getting a property in a property file treated as a value rather than
a location? For example, I have the following:
build.property:
mytest.dir="/tmp/jon"
build.xml:
.
.
.
<property file="build.property" />
.
.
.
<target name="fred">
<mkdir dir="${mytest.dir}" />
</target>
The directory ${mytest.dir} will be created where I am running the ant
script from (in an eclipse workspace) rather than in /tmp. If I declare the
property in the build.xml then I get the behaviour I desire - but that seems
to be a bit kludgy,
Harold.
--
View this message in context:
http://ant.1045680.n5.nabble.com/How-do-I-get-a-property-treated-as-a-value-rather-than-a-location-tp4931907p4931907.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]