You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jorge Pereira <jc...@inescporto.pt> on 2003/07/29 18:57:03 UTC

escaping from quotes

hi,

   i have to pass the following argument to a class for RMID download of 
stubs:

-Djava.rmi.server.codebase="file:///${basedir}/build/classes/ 
file:///$basedir/lib/jini/jini-core.jar"

the previous line, works fine on the command line.

But in the ant this doesn't work.

I tryed :

<jvmarg 
value='-Djava.rmi.server.codebase="file:///${basedir}/build/classes/ 
file:///$basedir/lib/jini/jini-core.jar"' />

but i gives me an error like this one :

java.net.MalformedURLException: no protocol: 
"file:///home/mypath/build/classes/

How can i do this???

thanks in advance.

Jorge Pereira