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:

<target name="createServerXml">
    <replaceregexp file="${oc4j_home}/config/server.xml"
    match="&lt;java-compiler [^>]*/>"
    replace="&lt;java-compiler
bindir=&quot;${java.home}/bin&quot;extdirs=&quot;${java.home}/jre/lib/ex
t&quot;/>"/>
  </target>

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,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to