ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Pereira <...@inescporto.pt>
Subject jvmarg problem - URGENT!
Date Mon, 28 Jul 2003 17:01:12 GMT
Hello everybody,

    I have a ant build that has the folowing code in a target to run 
some tests:

        <java fork="yes" classpath="${run.classpath}" 
classname="package.program.to.run" >
          <jvmarg value="${jvmarg.java.security.policy}" />
          <jvmarg value="${jvmarg.java.rmi.server.codebase}" />
          <jvmarg value="${jvmarg.javax.net.ssl.trustStore}" />
          <jvmarg value="${jvmarg.javax.net.ssl.trustStorePassword}" />
        </java>

and this property:

  <property name="jvmarg.java.rmi.server.codebase"         
value='-Djava.rmi.server.codebase="file:///${basedir}/build/classes/ 
file:///$basedir/lib/another/somejar.jar"' />


The problem is that "java.rmi.server.codebase" must export both paths, 
but ant refuses to do this correct.

In JavaBuilder i define the property to pass to jvm as :
-Djava.rmi.server.codebase="file:///${basedir}/build/classes/ 
file:///$basedir/lib/another/somejar.jar"

and it runs perfectly.

In ant, until now, it did run everything ok because i only have to 
export on file in codebase.

I tryed to excape from the quotes with the "&quot;" sequence but nothing.

Can anybody help ???

Thanks in advance.

Jorge Pereira


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


Mime
View raw message