ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: '$$' escape syntax does not work with macros?
Date Wed, 04 Apr 2007 05:03:29 GMT

Probably along the same lines as this bug...

properties get double expanded in <assertPropertyEquals>
http://issues.apache.org/bugzilla/show_bug.cgi?id=41400


Jake

At 06:48 PM 4/3/2007, you wrote:
 >Hi Ant Users,
 >
 >It looks like '$$' escape syntax does not work with macrodefs.
 >
 >I wrote the following test:
 >
 >  <macrodef name="echotest">
 >    <attribute name="message" />
 >    <sequential>
 >      <echo message="@{message}" />
 >    </sequential>
 >  </macrodef>
 >
 >  <target name="test">
 >    <echo message="$${basedir}" />
 >    <echotest message="$${basedir}" />
 >  </target>
 >
 >The output is:
 >
 >test:
 >     [echo] ${basedir}             --> as expected
 >     [echo] path/to/current/dir    --> bug?
 >
 >Am I using this incorrectly, or is this a bug?
 >
 >Thank you,
 >
 >--Vladimir
 >
 >Notice:  This email message, together with any attachments, may
 >contain information  of  BEA Systems,  Inc.,  its subsidiaries  and
 >affiliated entities,  that may be confidential,  proprietary,
 >copyrighted  and/or legally privileged, and is intended solely for the
 >use of the individual or entity named in this message. If you are not
 >the intended recipient, and have received this message in error,
 >please immediately return this by email and then delete it.
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
 >For additional commands, e-mail: user-help@ant.apache.org


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


Mime
View raw message