ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <>
Subject Re: Set a default value to property.
Date Tue, 30 Nov 2010 21:04:51 GMT

Thanks all for your replies, i tried some thing like this and it worked.

<property name = "version"  value="23"/>
<replacefilter token="${XYZ}" value="${version}"/>

and when i ran the command ant -Dversion=25 it worked. Actually my ant task
is replacing a regular expression with the version value. When i dont pass
the arguments -Dversion=xxx it sets the token value as 23.
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