ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CheeYang Chau" <>
Subject Re: Having problem using property to in macrodef if invoke for more than one time
Date Thu, 27 Mar 2008 07:34:01 GMT
>  A common, if not so nice solution, is to use an attribute value as
>  a property name.
>  For example:
>        <macrodef name="a">
>                <attribute name="module"/>
>                <sequential>
>                        <property name="myvalue.@{module}" value="@{module}"/>
>                        <echo>${myvalue.@{module}}</echo>
>                </sequential>
>        </macrodef>

I am aware of this solution.  I read some old post regarding there is
a proposal to add local property.  It seems like it is a way to go but
I haven't seen it implement in ANT 1.70 yet.  How is the progress?

Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
SQL Financial Accounting

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

View raw message