Well, for me it works that way as well. I had not tried before.
But my problem persists, and what I left out in my former e-mail was
that I am using the replaceregexp task.
So it must be the replaceregexp task that gives me the problem. I do the
following:
So the thing is that I probabl
, because then it is already too late.
Thanks in advance,
Thomas Saxtoft
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The thing is that the java.home I get from ant already contains the
backslash.
My script looks like this:
I need to change the backslash contained in the property (java.home) to
a frontslash, before writing to the file. When written to the file the
backslash has disappeared, and thus it
On a Windows XP I have to write the java.home property to a file, but
doing that the '\' disappears. I suspect that it needs to be escaped
like '\\', but the value of java.home is the one that contains the
backslash.
How do I write it to the file?
The next thing is, how do I make it general so tha