> 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
URL: www.sql.com.my
SQL Financial Accounting
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|