ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Pass multiple directories to -lib option
Date Tue, 21 Apr 2009 22:03:47 GMT
Matt Benson schrieb am 21.04.2009 um 05:37:17 (-0700):
> 
> You should probably try embedding your paths, with semicolons, in
> double quotes.  Your command shell may be interpreting the semicolons
> as statement terminators.

Using semicolons as the pass seperator would make sense on Windows,
where semicolons aren't statement terminators; you can say "echo a;b;c"
in cmd.exe, so the problem wouldn't arise.

But -lib seems to take only one argument, so the path seperator issue
doesn't come in here. Use multiple -lib options, that works.

ant -f saxon.xml -lib c:\jlib\saxon9-ant.jar -lib C:\jlib\saxon9.jar

Michael Ludwig

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


Mime
View raw message