ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Roy" <>
Subject How to set a new property based on value of another property in Ant ?
Date Tue, 29 Jan 2008 08:52:42 GMT
Hi All,

I want to set a property based on a value of the other property in my
build script :

Already defined property in a build file :

 <property foo.1="prop.1" value="xx" />

Want to set another property based on the value of this property like.

  <property foo.2="prop2. value="x.x" />

Which means addding  "." character after first character in the value
of foo.1 property.

Is it possible in ant ?

Thanks for pointers.


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

View raw message