ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <ganesh.devaraj...@baml.com>
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: http://ant.1045680.n5.nabble.com/Set-a-default-value-to-property-tp3286574p3286768.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message