ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Saxtoft">
Subject RE: Writing java.home to file
Date Thu, 18 Nov 2004 13:08:21 GMT
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

<target name="createServerXml">
    <replaceregexp file="${oc4j_home}/config/server.xml"
    match="&lt;java-compiler [^>]*/>"

So the thing is that I probably have to replace all backslashes with a
double backslash before using it in the replaceregexp task. But how do I
do that having the java.home property.

Thanks in advance,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message