Hi Friends,
I take a directory path input from the end-user and store it in a
property,for example if its windows,it stores it as:

log4j.location=C:\tomcat\logs

And that messes up everything.Because \t is interpreted as tab. So, how can
i change the backward slashes(windows convention) to forward slashes(unix
convention) in the property before my build file is executed????

Or, how to escape them eg "\" to "\\"

I would appreciate your help.
Thanks
Mick

Reply via email to