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
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
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
, 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
> > 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
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
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
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
> > 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
> 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
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
> 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
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
13 matches
Mail list logo