ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <>
Subject '$$' escape syntax does not work with macros?
Date Tue, 03 Apr 2007 23:48:00 GMT
Hi Ant Users,

It looks like '$$' escape syntax does not work with macrodefs.

I wrote the following test:

  <macrodef name="echotest">
    <attribute name="message" />
      <echo message="@{message}" />

  <target name="test">
    <echo message="$${basedir}" />
    <echotest message="$${basedir}" />

The output is:

     [echo] ${basedir}             --> as expected
     [echo] path/to/current/dir    --> bug?

Am I using this incorrectly, or is this a bug?

Thank you,


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:
For additional commands, e-mail:

View raw message