You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Henrik Gemal <sp...@mail.dk> on 2005/06/09 14:07:31 UTC

"recursive" property is inconsistent

In my "build.xml" file I have:
<property file="build.properties" />

in my "build.properties" I have:
project=launchy
guid=@project@-gemal

when I do my copy from within "build.xml" the @guid@ are replaced with 
"launchy-gemal" which is nice.

but in my "build.xml" I cant use:
<echo>${ext.project}-gemal.dk</echo>

this echos "${ext.project}-gemal.dk" and not "launchy-gemal.dk" as expected.

but if I have this in my "build.properties"
guid=${project}-gemal

I can do:
<echo>${ext.project}-gemal.dk</echo>
which correctly produces "launchy-gemal.dk"

but the copy with @guid@ doesn't work

is this an intended bug/feature?

Is there a way for a "recursive" property to work both in then <copy> 
command and in build.xml commands like echo?


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