ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <vego...@bea.com>
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" />
    <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


Mime
View raw message