ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@bitfaeule.net
Subject AW: Re: replacing a token in a property value
Date Fri, 22 Jul 2005 17:10:02 GMT
Thanks.

jacques

>
>antcontrib has a task to do regex replacements on property values: 
><a 
>href="http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html">http:/
>/ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html</a>
>
>-- 
>Jeffrey E. Care (carej@us.ibm.com)
>WebSphere v7 Release Engineer
>WebSphere Build Tooling Lead (Project Mantis)
>
>
>lists@bitfaeule.net 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. 
>> 
>>  -> 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
>>

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


Mime
View raw message