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:[EMAIL PROTECTED] 
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> To: [email protected]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to