On Thursday 14 August 2003 10:31, Conor MacNeill wrote: > Cool. > > I think these should go in Ant :-) Excellent. > > 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 properties). I had looked at having a task scope for properties, but this looked difficult to achieve. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]