--- Steve Loughran <[EMAIL PROTECTED]> wrote:
> David Weintraub wrote:
> > If you invoke multiple targets on the command
> line, each target will
> > execute, and dependencies will execute
> independently. There is no way
> > of Ant to know if one of the targets you put on
> the command line migh
David Weintraub wrote:
If you invoke multiple targets on the command line, each target will
execute, and dependencies will execute independently. There is no way
of Ant to know if one of the targets you put on the command line might
affect a later target. For example:
$ ant first clean_first sec
If you invoke multiple targets on the command line, each target will
execute, and dependencies will execute independently. There is no way
of Ant to know if one of the targets you put on the command line might
affect a later target. For example:
$ ant first clean_first second
If Ant kept track of
E: Question about "depends" attribute in the target element
> From: broken connection [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 12, 2007 11:11 AM
> To: Ant Users List
> Subject: Re: Question about "depends" attribute in the target element
>
> Yeah,I apol
t; > before
> > it runs
> >
> > Any advice???
> >
> > Thanks
> >
> >
> > On 11/12/07, Rick Genter <[EMAIL PROTECTED]> wrote:
> > >
> > > > From: broken connection [mailto: [EMAIL PROTECTED]
> > > > Sent: Mon
ilto:[EMAIL PROTECTED]
> > > Sent: Monday, November 12, 2007 11:07 AM
> > > To: Ant Users List
> > > Subject: Re: Question about "depends" attribute in the target element
> > >
> > > Thanks Rick,
> > > But like Glenn specified if
> From: broken connection [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 12, 2007 11:11 AM
> To: Ant Users List
> Subject: Re: Question about "depends" attribute in the target element
>
> Yeah,I apologize for thatbut how can i resolve this guys???
>
>
ct: Re: Question about "depends" attribute in the target element
Thanks Rick,
But like Glenn specified if you add an extra target then
everything works
fine, please see below:
Yes, that's correct. There's nothing broken.
If you do "ant first third" first will be run tw
/07, Rick Genter <[EMAIL PROTECTED]> wrote:
>
> > From: broken connection [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 12, 2007 11:07 AM
> > To: Ant Users List
> > Subject: Re: Question about "depends" attribute in the target element
> >
>
> From: broken connection [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 12, 2007 11:07 AM
> To: Ant Users List
> Subject: Re: Question about "depends" attribute in the target element
>
> Thanks Rick,
> But like Glenn specified if you add an extra target
L PROTECTED]> wrote:
>
> > From: broken connection [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 12, 2007 11:01 AM
> > To: Ant Users List
> > Subject: Re: Question about "depends" attribute in the target element
> >
> > Thanks Glenn,
> >
> From: broken connection [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 12, 2007 11:01 AM
> To: Ant Users List
> Subject: Re: Question about "depends" attribute in the target element
>
> Thanks Glenn,
> Here's a small test script that i wrote that simulat
Thanks Glenn,
Here's a small test script that i wrote that simulates my environment and
proves my findings:
build.xml:
Output:
C:\Documents and Settings\mick\Desktop\test>ant first second
Buildfile: build.xml
first:
[echo] target First
first:
[
Could you post the complete Ant script?
How are you invoking the script and the target(s)?
I noticed if you invoke ant with both targetA and targetB, then targetA
would be called multiple times.
However if you invoke ant with targetC (below) then targetA is invoked once.
in targetC
--glenn
O
Hi Friends,
As far as I knew, if we have "depends" in the target then that target
would run only once. But my target is running multiple times.
For example, I have this:
The execution results as:
targetA
targetA
targetB
But I thought since "targetA" has already been executed it should show
15 matches
Mail list logo