.
Using System.exit(0) will terminate both the nested build and the outer build.
--- On Wed, 5/18/11, Carlton Brown wrote:
> From: Carlton Brown
> Subject: Re: Custom task to force build success
> To: "Ant Users List"
> Date: Wednesday, May 18, 2011, 9:19 AM
>
; ---
> Shawn Castrianni
>
> -Original Message-
> From: Matt Benson [mailto:gudnabr...@gmail.com]
> Sent: Wednesday, May 18, 2011 10:27 AM
> To: Ant Users List
> Subject: Re: Custom task to force build success
>
> On Wed, May 18, 2011 at 10:07 AM, Carlton Brown
> wrot
att Benson [mailto:gudnabr...@gmail.com]
Sent: Wednesday, May 18, 2011 10:27 AM
To: Ant Users List
Subject: Re: Custom task to force build success
On Wed, May 18, 2011 at 10:07 AM, Carlton Brown wrote:
> I'm struggling to write a custom task that is essentially the opposite
> of &qu
On Wed, May 18, 2011 at 10:07 AM, Carlton Brown wrote:
> I'm struggling to write a custom task that is essentially the opposite of
> "fail". I've seen it mentioned on this list before, but never found a
> conclusive answer.
>
> To be successful, a task expressed like this:
>
>
>
>
> The task
I'm struggling to write a custom task that is essentially the opposite of
"fail". I've seen it mentioned on this list before, but never found a
conclusive answer.
To be successful, a task expressed like this:
The task would halt the build, and I would see the following output:
You win!
BUI