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:10:08 GMT
Jan.Materne@rzf.fin-nrw.de schrieb am 21.04.2009 um 11:17:18 (+0200):

> 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.

I didn't have a look into the source code, but tokenizing the path by
the path seperator in order to add each token to the classpath wouldn't
make any sense at all.

  a/b/c -> a b c

That would produce three tokens, two of which probably inexistent as
directories. Nothing would work.

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