You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Thomas Saxtoft <TS...@sondagsavisen.dk> on 2004/11/18 13:07:47 UTC

Writing java.home to file

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 then it is already too late.

Thanks in advance,

Thomas Saxtoft

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org