antcontrib has a task to do regex replacements on property values: http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html
-- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) [EMAIL PROTECTED] wrote on 07/22/2005 01:01:16 PM: > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
