ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gus Heck <...@cognition.olin.edu>
Subject Re: [new tasks] presetdef and macrodef
Date Wed, 20 Aug 2003 15:28:28 GMT
Jose Alberto Fernandez wrote:

>Dominique,
>
>As its name indicates <macrodef/> is a MACRO. And macros are macros are
>macros
>and they are suppose to be textually replaces at the point on
>invocation.
>  
>
Of course the parameters need to be replaced. The point is they 
shouldn't look like properties. This way they can't be confused with 
properties.  An alternate form to ${foo} is all that is needed. Just 
search for a diferent pattern... {@foo} or (@foo) or @{foo} or %{foo} or 
$[foo] or really anything that isn't ${foo}. Dominique did also point 
out that (@foo) and {@foo} are already commonly used in other contexts 
that build authors will be familliar with.

-Gus


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


Mime
View raw message