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

Re: problem: how to copy multiple directories in ant

2009-01-20 Thread Gilbert Rebhan
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

Re: problem: how to copy multiple directories in ant

2009-01-20 Thread Dominique Devienne
> |---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

Re: problem: how to copy multiple directories in ant

2009-01-20 Thread bmilbr...@outstart.com
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

RE: problem: how to copy multiple directories in ant

2009-01-20 Thread Rebhan, Gilbert
-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

RE: problem: how to copy multiple directories in ant

2009-01-20 Thread Rebhan, Gilbert
-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

problem: how to copy multiple directories in ant

2009-01-19 Thread bmilbr...@outstart.com
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

Re: copy multiple directories into one

2008-03-10 Thread Lars Ohlén
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

Re: copy multiple directories into one

2008-03-09 Thread Ramu Sethu
; > 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

AW: copy multiple directories into one

2008-03-09 Thread Jan.Materne
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

copy multiple directories into one

2008-03-09 Thread Lars Ohlén
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

Re: Assembling src files in multiple directories for compilation

2007-05-25 Thread Scot P. Floess
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

Assembling src files in multiple directories for compilation

2007-05-25 Thread David Alves
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.

AW: Multiple directories

2006-06-11 Thread Jan.Materne
> 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]

Re: Multiple directories

2006-06-08 Thread Ben Stringer
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

Multiple directories

2006-06-08 Thread David Bates
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

Re: over multiple directories?

2006-04-11 Thread Dominique Devienne
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

Re: over multiple directories?

2006-04-10 Thread Daniel Noll
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

Re: over multiple directories?

2006-04-10 Thread Dominique Devienne
> 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

over multiple directories?

2006-04-09 Thread Daniel Noll
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

Re: AW: copying multiple directories set in property

2005-04-27 Thread Dies Koper
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

AW: copying multiple directories set in property

2005-04-26 Thread Jan . Materne
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

copying multiple directories set in property

2005-04-26 Thread Dies Koper
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