ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message