ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uli <ld-developm...@lohndirekt.de>
Subject nested variable expansion in property file
Date Tue, 02 Nov 2004 14:29:05 GMT
hello,

i'm using a global property file for various ant scripts.
to keep variable names short and concise i use variables
in the delaration of other variables.

like:

workspace=/home/me
classpath=${workspace}/classes

i know that that's nothing unusual, but it doesn't work
for my global property file. ant only expands the variables to this
when using the command line %ant -properyfile global-ant.property:

${workspace}  --> /home/me
$classpath    --> ${workspace}/classes


does anybody have a solution for that problem ?
or is it meant to be like that ?


uli

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


Mime
View raw message