ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "1800 tbsfunny" <1800tbsfu...@gmail.com>
Subject Re: Question about the Depends property
Date Fri, 26 May 2006 20:04:00 GMT
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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message