ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Champlon <m.champ...@free.fr>
Subject Re: How to replace substring into property and get result into another property ?
Date Tue, 29 Aug 2006 11:10:38 GMT
Willy Reinhardt a écrit :
> Hi, 
> I get a property value as : 
> lib/iaik/iaik_jce.jar,lib/iaik/iaikPkcs11Provider.jar 
>
> and would replace character "," by ";" or ":" 
>
> is a ant task can do that ? 
>   
Hello !

Maybe the <pathconvert> task can help you : 
http://ant.apache.org/manual/CoreTasks/pathconvert.html
Or <propertyregex> from ant-contrib : 
http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html

I tend to prefer the first one but sometimes propertyregex can save the 
day :)

MAT.

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


Mime
View raw message