Re: Custom task to force build success

2011-05-18 Thread Vimil Saju
. 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 >

Re: Custom task to force build success

2011-05-18 Thread Carlton Brown
; --- > 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

RE: Custom task to force build success

2011-05-18 Thread Shawn Castrianni
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

Re: Custom task to force build success

2011-05-18 Thread Matt Benson
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

Custom task to force build success

2011-05-18 Thread Carlton Brown
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