<antcontrib:propertregex> ?

Jan 

> -----Ursprüngliche Nachricht-----
> Von: Nicolai Kamenzky [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 14. November 2007 16:43
> An: user@ant.apache.org
> Betreff: Replacing chars in a property
> 
> Hi folks!
> 
> I have a property which contains a path "C:\Documents and Settings 
> \..." and I have to convert it to this format "c/Documents\ and\  
> Settings/...". Thus I have to replace "\" with "/" and so on.
> 
> How do I do this? I can access my property with ${myProperty} and  
> want to get another property with the replaced chars.
> 
> Cheers,
> Nicolai
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to