Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 53441 invoked from network); 4 Jan 2001 10:37:01 -0000 Received: from rodney.concentric.net (HELO rodney.cnchost.com) (207.155.252.4) by h31.sny.collab.net with SMTP; 4 Jan 2001 10:37:01 -0000 Received: from [192.168.0.2] (cpe-66-1-144-75.ca.sprintbbd.net [66.1.144.75]) by rodney.cnchost.com id FAA22365; Thu, 4 Jan 2001 05:37:12 -0500 (EST) [ConcentricHost SMTP Relay 1.10] Errors-To: User-Agent: Microsoft-Entourage/9.0.2509 Date: Thu, 04 Jan 2001 02:37:11 -0800 Subject: Re: Question on builds that fail From: James Duncan Davidson To: Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On 1/3/01 2:14 PM, "Conor MacNeill" wrote: > Of course, once we add this to javac, the question is why not add it to > other tasks, say the task for example. I think that was perhaps the > thrust of David Bailey's fail fast post. Therefore, perhaps this should be a > general attribute of all tasks. That would move "proceed" processing into > the ant core and I'm pretty sure Duncan has expressed an opinion that this > is a task responsibility. It is a task responsibility. I'm not sure whether this is one that should just be enforced by convention, or whether it should be part of some default kind of TaskAction base implementation that is part of what I was talking about in the MT post I just made. If it was part of base functionality, a proceed of yes would case "false" returns from the execute method to be warned, not stop the build. If we do enable this for *everything*, then there might be problems that people get into. Of course, the major tasks that fail on a regular basis are going to be exactly those ones that people want to see this on anyways (compilation tasks). Given that, I might be willing to see this go into a base class impl. -- James Duncan Davidson duncan@x180.net !try; do()