ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: How to use $ in a ANT property value
Date Mon, 07 Aug 2000 08:53:48 GMT
>>>>> "KP" == K Plummer <kplummer1@earthlink.net> writes:

 KP> Is ant expanding away the preceeding $ on $$1 on the first macro
 KP> (leaving $1) which becomes 1 on subsequent macro expansions?

Yes, $$ will simply be translated to $ by Ant, that's all. No further
processiong will be done by Ant.

I think, what you see is sh processing the $ sign you are sending on
the command line to the <exec> task. Maybe \$$ is what you want? Ant
woukld translate this to \$ and sh to $.

Stefan

Mime
View raw message