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
bmilbr...@outstart.com schrieb:
> Worked great. Thanks gilbert. I had used ant-contrib's looping before,
> but felt surely ant offered a 'native' way to solve this problem, just
> that I hadn't mastered dirset/fileset/pathconvert, etc. I intuited wrong.
>
> a suggestion for the ant-team:
> The doc
> |---bad
> |--Bad.class (from patch02)
FWIW, fileset/dirset have an undefined order so it's difficult to
predict for sure that Bad.class will always come from patch02 rather
than patch01. Might work on one OS but not another. The new resource
collection may allow more contro
Worked great. Thanks gilbert. I had used ant-contrib's looping before,
but felt surely ant offered a 'native' way to solve this problem, just
that I hadn't mastered dirset/fileset/pathconvert, etc. I intuited wrong.
a suggestion for the ant-team:
The documentation is very helpful. To increase it's
-Original Message-
From: bmilbr...@outstart.com [mailto:bmilbr...@outstart.com]
Sent: Monday, January 19, 2009 6:55 PM
To: user@ant.apache.org
Subject: problem: how to copy multiple directories in ant
/*
Hi,
I have a well-defined problem I can easily solve via a shell script, but
want
-Original Message-
From: bmilbr...@outstart.com [mailto:bmilbr...@outstart.com]
Sent: Monday, January 19, 2009 6:55 PM
To: user@ant.apache.org
Subject: problem: how to copy multiple directories in ant
/*
Hi,
I have a well-defined problem I can easily solve via a shell script, but
want
Hi,
I have a well-defined problem I can easily solve via a shell script, but
want to know the ant-equivalent. This issue has come up on the ant user
mailing list before, but no answer surfaced. I've tried using various
combinations of fileset and dirset, but without success. Can someone
offer some
8 6:58 AM
Subject: AW: copy multiple directories into one
Jan
-Ursprüngliche Nachricht-
Von: Lars Ohlén [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 9. März 2008 13:14
An: user@ant.apache.org
Betreff: copy multiple directories into one
Hi Ant Users!
I have a bunch of direc
; > Gesendet: Sonntag, 9. März 2008 13:14
> > An: user@ant.apache.org
> > Betreff: copy multiple directories into one
> >
> > Hi Ant Users!
> >
> > I have a bunch of directories that contains a src folder that
> > contains java code (in package structure)
&g
Jan
> -Ursprüngliche Nachricht-
> Von: Lars Ohlén [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 9. März 2008 13:14
> An: user@ant.apache.org
> Betreff: copy multiple directories into one
>
> Hi Ant Users!
>
> I have a bunch of directories that
Hi Ant Users!
I have a bunch of directories that contains a src folder that contains java
code (in package structure)
I want to copy all the directoreis belove the src directory into one diretory
(basiclly I want to move all java files including the package structure into
one location).
See be
Yep - you can do it...
It's all right there in the online docs :)
Here is one example:
So, just in defining your example:
Of course, this is just me whipping out an answer "right quick" (as the
say in NC) - your mileage may very :)
HTH,
Scot
Da
I have a project that looks like this:
/folder1/src
/folder2/src
/folder3/src
/folder4/src
/folder5/src
/build/src
/build/classes
Currently, I copy all of them to /build/src before compiling them all
into /build/classes I'm wondering if it's possible to do this without
the copy step.
>
This wouldnt work because "dir" must point to one directory.
Usedir="${backup.backend.dir}" includes="MyApp*/"
instead.
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, 2006-06-08 at 09:02 +0100, David Bates wrote:
> I have the following target:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> I run this prior to doing a deployment to ensure we have a backup of
> what was on the server i
I have the following target:
I run this prior to doing a deployment to ensure we have a backup of
what was on the server in case everything goes wrong.
The property "backup.backend.dir" comes from a property file. The
problem i
On 4/10/06, Daniel Noll <[EMAIL PROTECTED]> wrote:
> Dominique Devienne wrote:
> > I've used extensively with C/C++/Fortran, and although there's a
> > learning curve to it, it's very good IMHO. Have you discussed your
> > issues on the Ant-Contrib list? But I'll grant you, going the
> > route is
Dominique Devienne wrote:
I've used extensively with C/C++/Fortran, and although there's a
learning curve to it, it's very good IMHO. Have you discussed your
issues on the Ant-Contrib list? But I'll grant you, going the
route is a significant investement. The dependency management is very
good
> I have a directory under which there are multiple nested directories,
> sometimes containing a makefile. [...]
> Today I discovered the task, and thought it might be the way out
> of this predicament. However, that task becomes useless very quickly.
> The problem is that make needs to be run in
Hi, folks.
I have a directory under which there are multiple nested directories,
sometimes containing a makefile.
At present, we handle these by calling on each one in turn. This
uses around three lines of antfile for every makefile, and the number of
directories is steadily increasing. T
elf, e.g. with AntContrib .
(B>
(B> Jan
(B>
(B>
(B>>-Urspr$B!&(Bgliche Nachricht-
(B>>Von: Dies Koper [mailto:[EMAIL PROTECTED]
(B>>Gesendet am: Mittwoch, 27. April 2005 03:19
(B>>An: user@ant.apache.org
(B>>Betreff: copying multiple
The only workaround is iterating for yourself, e.g. with AntContrib .
(B
(BJan
(B
(B> -Urspr$B!&(Jgliche Nachricht-
(B> Von: Dies Koper [mailto:[EMAIL PROTECTED]
(B> Gesendet am: Mittwoch, 27. April 2005 03:19
(B> An: user@ant.apache.org
(B> Betreff: copying m
Hello,
(BI'd like to copy files from directories that I have set in a property.
(BIt is to copy dtd files from my source directories to the build directory.
(BFor some projects I have several source directories, that is why I set
(Bthem in a property file. I compile as follows:
(B
(B
(B
35 matches
Mail list logo