ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Macrodef attributes and Local revisited again
Date Thu, 27 Nov 2003 14:38:49 GMT
On Thu, 27 Nov 2003, Peter reilly <peter.reilly@corvil.com> wrote:

> Yesterday I said that macrodef attributes should be implemented as
> properties and not as textual substitution.
> 
> On overnight reflection, I have changed by mind.

Cool, that makes two of us 8-)

> The proposed new notation is @{x} where x is the attribute.
> 
> I have implemented the new notation and added the following:
> 
>  * the escape sequence @@{x} is used to allow @{x} to be
>    placed in the text without substitution of x. - this
>    corresponds to the $${x} escape sequence for properties.

+1

>  * the macro replacement is now done on the default values for
>    the attributes - this allows Jan's use case to work:

syntactic sugar, +0

> For this I have proposed using the local property patch, but if
> macrodef properties are to be implemented as textual substitution
> and not as local properties, the two issues can be separated.

Yes.

Stefan

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


Mime
View raw message