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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org