ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Egorov" <vego...@bea.com>
Subject RE: '$$' escape syntax does not work with macros?
Date Wed, 04 Apr 2007 15:07:50 GMT
Thank you. I added
http://issues.apache.org/bugzilla/show_bug.cgi?id=42046

and updated
http://issues.apache.org/bugzilla/show_bug.cgi?id=41400

--Vladimir

> -----Original Message-----
> From: Jacob Kjome [mailto:hoju@visi.com]
> Sent: Tuesday, April 03, 2007 10:03 PM
> To: Ant Users List
> Subject: Re: '$$' escape syntax does not work with macros?
> 
> 
> 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


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