ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Pass multiple directories to -lib option
Date Tue, 21 Apr 2009 09:17:18 GMT
> I tried several ways (space separated, semicolon-separated) 
> to add more than one directory to the -lib option, somehow I 
> cannot get this working (-diagnostics doesn't list my 
> jars..). Thankful for any tips.

Use multiple -lib options
$ant -lib one.jar -lib another.jar

The 'help' output and the manual say:
   "-lib <path>            specifies a path to search for jars and
classes"

I had a look into the source code: the <path> is a real path: it is
tokenized by
File.pathSeparator and each token is added to Ants classpath.


Jan

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


Mime
View raw message