Hello,
I had a simialr problem to this, if you cannot switch \ to / (I
had a problem that I needed to replace a path whihc became a commadn line).
I ended up having to put four \ to replace one \. This ended up being two
for java and two for a regex although you are not using regexs -
On Mon, 9 Jan 2006, shreedhar natarajan <[EMAIL PROTECTED]> wrote:
> One of my property file has key/values such as
>
> path=something\usb
> I understand that it interprets \u in usb as unicode char.
Yes.
> I tried to use a filter to change "\" to "\\"
>
> file="${build_dir}/myvalues.prop
Try changing the \ to / in the file.
HTH Bill
-Original Message-
From: shreedhar natarajan [mailto:[EMAIL PROTECTED]
Sent: Monday, January 09, 2006 4:46 PM
To: Ant Users List
Subject: Reading properties
hi all,
One of my property file has key/values such as
path=something\usb
When