ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@bitfaeule.net
Subject replacing a token in a property value
Date Fri, 22 Jul 2005 17:01:16 GMT
Hi Ant Experts,

I want to do something simple. I have a property with a given value, i.e. "23/65" and I want
to replace the "/" with a string, i.e. "slash". I expected to find a task that would define
my a new property with the result of the replacement: i.e. 
<property name="myInput" value="23/65"/>
<myReplace ... /> -> so I can use the value "23slash65" in my ant script later.

is there a simple solution?

thanks.

jacques

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


Mime
View raw message