ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: using dynamic declarations..
Date Fri, 16 Oct 2009 04:42:01 GMT
On 2009-10-15, EetieD <khn@leanapps.com> wrote:

> I was wondering if it is possible to use 'dynamic declarations' within ANT.
> Please check the example below. In the line '<echo>${value.${id}}</echo>',
I
> would like to print a value which is dependant on the id.

Not in Ant 1.7.1 or earlier, except using some tricks
<http://ant.apache.org/faq.html#propertyvalue-as-name-for-property>

Once it they are ready Ant 1.8.0 and the new props Antlib will provide a
simpler way to do just that.

Stefan

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


Mime
View raw message