Re: Pass multiple directories to -lib option

2009-04-23 Thread Michael Ludwig
Peter Reilly schrieb am 23.04.2009 um 10:28:59 (+0100): > I think that > ant -f saxon.xml -lib C:\jlib > should also work (untested). Yes, it does, as per "ant -help". That seems to put on the classpath whatever jars and classes are lying around in that directory. > > ant -f saxon.xml -lib C:\jli

Re: Pass multiple directories to -lib option

2009-04-23 Thread Peter Reilly
I think that ant -f saxon.xml -lib C:\jlib should also work (untested). Peter On Wed, Apr 22, 2009 at 6:48 PM, Michael Ludwig wrote: > Felix Dorner schrieb am 22.04.2009 um 09:46:40 (+0200): >> >> > > The 'help' output and the manual say: >> > >    "-lib            specifies a path to search f

Re: Pass multiple directories to -lib option

2009-04-22 Thread Michael Ludwig
Felix Dorner schrieb am 22.04.2009 um 09:46:40 (+0200): > > > > The 'help' output and the manual say: > > >"-lib specifies a path to search for jars and > > > classes" > > > > > > I had a look into the source code: the is a real path: it is > > > tokenized by File.pathSeparator

Re: Pass multiple directories to -lib option

2009-04-22 Thread Matt Benson
, Michael Ludwig wrote: > From: Michael Ludwig > Subject: Re: Pass multiple directories to -lib option > To: "Ant Users List" > Date: Tuesday, April 21, 2009, 5:03 PM > Matt Benson schrieb am 21.04.2009 um > 05:37:17 (-0700): > > > > You should

RE: Pass multiple directories to -lib option

2009-04-22 Thread Felix Dorner
> > The 'help' output and the manual say: > >"-lib specifies a path to search for jars and > > classes" > > > > I had a look into the source code: the is a real path: it is > > tokenized by File.pathSeparator and each token is added to Ants > > classpath. > > I didn't have a l

Re: Pass multiple directories to -lib option

2009-04-21 Thread Michael Ludwig
jan.mate...@rzf.fin-nrw.de schrieb am 21.04.2009 um 11:17:18 (+0200): > The 'help' output and the manual say: >"-lib specifies a path to search for jars and > classes" > > I had a look into the source code: the is a real path: it is > tokenized by File.pathSeparator and each toke

Re: Pass multiple directories to -lib option

2009-04-21 Thread Michael Ludwig
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, wher

RE: Pass multiple directories to -lib option

2009-04-21 Thread Matt Benson
You should probably try embedding your paths, with semicolons, in double quotes. Your command shell may be interpreting the semicolons as statement terminators. -Matt --- On Tue, 4/21/09, Felix Dorner wrote: > From: Felix Dorner > Subject: RE: Pass multiple directories to -lib optio

RE: Pass multiple directories to -lib option

2009-04-21 Thread Felix Dorner
> > So you mean it should work with ; (on Windows) separation > and a single > > -lib argument? > yes, have you tried? Yes I tried it, and once more right now. Doesn't work. Two possible sources of confusion: - Version issue, I use 1.7.0, but the one that's shipped with eclipse. - The director

AW: Pass multiple directories to -lib option

2009-04-21 Thread Jan.Materne
> So you mean it should work with ; (on Windows) separation and > a single -lib argument? > Felix yes, have you tried? Jan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant

RE: Pass multiple directories to -lib option

2009-04-21 Thread Felix Dorner
Hi Jan, > Use multiple -lib options > $ant -lib one.jar -lib another.jar Great! Thanks. Guess that was the only thing I didn't try... > I had a look into the source code: the is a real path: > it is tokenized by File.pathSeparator and each token is added > to Ants classpath. So you mean it

AW: Pass multiple directories to -lib option

2009-04-21 Thread Jan.Materne
> 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

Pass multiple directories to -lib option

2009-04-21 Thread Felix Dorner
Hey, 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. Felix - To uns