ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <BBurg...@tiaa-cref.org>
Subject RE: Question about the Depends property
Date Fri, 26 May 2006 20:08:59 GMT
So either you call
Ant TestA TestReport

Or you re-structure your build file to how you want it.

Ben

-----Original Message-----
From: 1800 tbsfunny [mailto:1800tbsfunny@gmail.com] 
Sent: Friday, May 26, 2006 4:04 PM
To: Ant Users List; Ninju Bohra
Subject: Re: Question about the Depends property

I have their targets

TestA

TestB

TestAll depends=TestA, TestB

TestReport depends=TestAll

Now, but default if I run ant... TestReport is called and all the tests
are
run fine.

Suppose I want to run just TestA..I do

prompt> ant TestA

But the TestReport doesnt get called after this.

Thanks.

On 5/26/06, Ninju Bohra <ninju_bohra@yahoo.com> wrote:
>
> You can run multiple targets in sequence from the command line by
space
> delimiting the target names.
>
> Try:
>
> prompt> ant B A
>
> Enjoy,
>
> Ninju
>
>
>
>
> ----- Original Message ----
> From: 1800 tbsfunny <1800tbsfunny@gmail.com>
> To: user@ant.apache.org
> Sent: Friday, May 26, 2006 2:54:44 PM
> Subject: Question about the Depends property
>
>
> In a given target I can call depends to point to which target should
be
> run
> before this.
>
> Eg.
>
> <target name=A depends="B,C">
>
>
> Now if I call
>
> prompt> ant B
>
> How do I make A run after this?
>
> Thanks.
>


**************************************************************
This message, including any attachments, contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
please contact sender immediately by reply e-mail and destroy all copies.  You are hereby
notified that any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message