ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorge Pereira <...@inescporto.pt>
Subject escaping from quotes
Date Tue, 29 Jul 2003 16:57:03 GMT
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

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message