Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 40319 invoked from network); 20 Jun 2004 07:22:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jun 2004 07:22:29 -0000 Received: (qmail 54596 invoked by uid 500); 20 Jun 2004 07:22:36 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54242 invoked by uid 500); 20 Jun 2004 07:22:34 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 54211 invoked by uid 99); 20 Jun 2004 07:22:34 -0000 Received: from [156.153.255.246] (HELO palrel11.hp.com) (156.153.255.246) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 20 Jun 2004 00:22:34 -0700 Received: from hplns3.hpl.hp.com (hplns3.hpl.hp.com [15.0.48.4]) by palrel11.hp.com (Postfix) with ESMTP id D4598844D for ; Thu, 17 Jun 2004 09:50:53 -0700 (PDT) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by hplns3.hpl.hp.com (8.11.1 - (Revision 1.4+JAGae91741+JAGae92668)/8.12.9/HPL-PA Hub) with ESMTP id i5HGorK28004 for ; Thu, 17 Jun 2004 09:50:53 -0700 (PDT) Message-ID: <40D1CBEC.8020801@iseran.com> Date: Thu, 17 Jun 2004 17:50:52 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: improved task References: <20040617142328.90474.qmail@web20429.mail.yahoo.com> <40D1ABE5.9050802@cortexebusiness.com.au> In-Reply-To: <40D1ABE5.9050802@cortexebusiness.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Conor MacNeill wrote: > Ant's Main class does call System.Exit. I think the only way to get the > information to it would be to create a subclass of BuildException to > carry the info and have Main extract it from the exception to Exit. our you pass it out-of-band in an ant failure code property of either the runtime or Main itself. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org