ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <>
Subject Re: [new tasks] presetdef and macrodef
Date Thu, 14 Aug 2003 09:51:11 GMT
On Thursday 14 August 2003 10:31, Conor MacNeill wrote:
> Cool.
> I think these should go in Ant :-)
> As you know I had thought about <macrodef> but I'm happy to
> see you've done it. I think there is a slight property scoping issue
> for the nested params. I had thought about a different syntax for
> macro params (e.g. $[target]), perhaps hooked into a specific property
> helper used for the macro scope.

Initially I used $(target) but changed back to using
${target} as this is what people (including me) are used to.
The substitution is done by the task itself and does not
use the ant property infrastructure. The effect of this is to
have a macro textual scope for the parameters (which look like

I had looked at having a task scope for properties, but this
looked difficult to achieve.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message