ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Dorner <>
Subject RE: Pass multiple directories to -lib option
Date Wed, 22 Apr 2009 07:46:40 GMT

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

Make sure not to confuse File.separator and File.pathSeparator (Which I guess caused a million
hours of work in the Java World. Not happy with those names..)


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

View raw message