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.

Reply via email to