ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Kwan <>
Subject append value to existing property
Date Wed, 14 Jan 2009 03:27:27 GMT

Hi all,

Is there a way to append a new value to an existing property. for example

I have a loop which will determine a new value each time and is stored in
property a_value

<property name="a_value" value="bbb"/>
<property name="the_list" value="aaa"/>

so i want to do something like
<property name="the_list" value="${the_list},${a_value}"/>

so in the end i want the value of the_list to be aaa,bbb

the a_value property will then have value ccc
so after an append, i would have aaa,bbb,ccc
and so on.

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message