Re: Depends="init" problem

2008-06-16 Thread Chuck Holzwarth
Try what I use: ... Thank you, Chuck Holzwarth (804) 403-3478 (home) (804) 305-4040 (cell) - Original Message From: Peter Reilly <[EMAIL PROTECTED]> To: Ant Users List Sent: Monday, June 16, 2008 7:49:42 AM Subject: Re: Depends="init" problem each creat

Re: Depends="init" problem

2008-06-16 Thread Peter Reilly
each creates a new project, targets in each project are independent of targets with the same name in other projects. Peter On Mon, Jun 16, 2008 at 9:00 AM, Bourzeix, Hervé <[EMAIL PROTECTED]> wrote: > You may have antcall in your code. Antcall don't pay attention to the depends > list. > > reg

RE: Depends="init" problem

2008-06-16 Thread Bourzeix , Hervé
You may have antcall in your code. Antcall don't pay attention to the depends list. regards, -Original Message- From: Guy Catz [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 9:50 AM To: user@ant.apache.org Subject: Depends="init" problem I have several targets, all depends on in

Re: Depends="init" problem

2008-06-16 Thread Vijay Aravamudhan
hi, I think the way you invoke the targets is like: ant -f buildFile.xml a b c If that is the case, you are invoking each target independent of each other - which means that the dependencies for each are discovered separately and executed - once for a, once for b and once for c. If you had a s

Re: Depends="init" problem

2008-06-16 Thread Sandeep Kumar K
That is because your tasks a,b,c are depending on Task "init" That means before executing target a, target "init" will be executed. same for Target b & c. Thats why init will be executed thrice. Thanks & Regards Sandeep Kumar K Sr. Software Engineer Geneva Software Technologies Limited, # 82, R

RE: Depends="init" problem

2008-06-16 Thread Shawn Castrianni
There are many ways to call ant targets. If you stick with using the depends to get a target called, then ant will never duplicate a target. So to get a target to call a then b then c but only run init once, just make this new "big" target depend on a,b,c and it will call each of them in order

Re: Depends="init" problem

2008-06-16 Thread Chris Green
I use something like :- and then have the four targets init, a, b and c doing whatever. Regards Chris On Mon, Jun 16, 2008 at 9:50 AM, Guy Catz <[EMAIL PROTECTED]> wrote: > I have several targets, all depends on init - > > > ... > > > ... > > > ... > > and of course > ... > > > Now, I a