Jan
> -Ursprüngliche Nachricht-
> Von: Thomas Saxtoft [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 18. November 2004 14:08
> An: Ant Users List
> Betreff: RE: Writing java.home to file
>
> Well, for me it works that way as well. I had not tried befo
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
Works for me
${java.home}
-->
C:\jdk\142_03\jre
Jan
> -Ursprüngliche Nachricht-
> Von: Thomas Saxtoft [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 18. November 2004 13:08
> An: Ant Users List
> Betreff: Writing java.home to file
>
> I need to write t
I need to write the ant built-in property ${java.home} to a file. How do
I do it on a windows machine without loosing the backslash. E.g my
java.home right now is c:\j2sdk1.4.2_03. When I write it to a file it
becomes c:j2sdk1.4.2_03. So it is not an option replacing characters in
the file, because