A little tired right now to test it, but you could use a filter in a
copy. See these pages:

<http://ant.apache.org/manual/CoreTypes/filterchain.html>
<http://ant.apache.org/manual/CoreTypes/filterchain.html#replacestring>

On Nov 15, 2007 1:32 PM, Nicolai Kamenzky <[EMAIL PROTECTED]> wrote:
> 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]
>
>



-- 
--
David Weintraub
[EMAIL PROTECTED]

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

Reply via email to