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
epends
> 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 init -
>
>
&g
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,
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
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
of them in order first before big
which will even before that first call init only one time.
So you should see:
---
Shawn Castrianni
-Original Message-
From: Guy Catz [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 2:50 AM
To: user@ant.apache.org
Subject: Depends="init&q
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
I have several targets, all depends on init -
...
...
...
and of course
...
Now, I also have a target which call a, then b and then c.
But when I run that ANT, the output is something like this -
running - successful
running -successful
running - successful
running -