Re: Question about "depends" attribute in the target element

2007-11-14 Thread Matt Benson
--- 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

Re: Question about "depends" attribute in the target element

2007-11-14 Thread Steve Loughran
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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread David Weintraub
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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread Martin Gainty
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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
t; > before > > it runs > > > > Any advice??? > > > > Thanks > > > > > > On 11/12/07, Rick Genter <[EMAIL PROTECTED]> wrote: > > > > > > > From: broken connection [mailto: [EMAIL PROTECTED] > > > > Sent: Mon

Re: Question about "depends" attribute in the target element

2007-11-12 Thread glenn opdycke-hansen
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

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> 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??? > >

Re: Question about "depends" attribute in the target element

2007-11-12 Thread Scot P. Floess
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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
/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 > > >

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> 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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
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, > >

RE: Question about "depends" attribute in the target element

2007-11-12 Thread Rick Genter
> 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

Re: Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
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: [

Re: Question about "depends" attribute in the target element

2007-11-12 Thread glenn opdycke-hansen
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

Question about "depends" attribute in the target element

2007-11-12 Thread broken connection
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