Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 11680 invoked from network); 23 Jan 2002 11:18:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Jan 2002 11:18:16 -0000 Received: (qmail 1813 invoked by uid 97); 23 Jan 2002 11:18:19 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 1797 invoked by uid 97); 23 Jan 2002 11:18:19 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 1786 invoked from network); 23 Jan 2002 11:18:18 -0000 Message-Id: <5.1.0.14.2.20020122213017.02589f08@mail.pagesmiths.com> X-Sender: pagesmth@mail.pagesmiths.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 22 Jan 2002 21:34:59 -0800 To: "Ant Users List" From: Jim White Subject: Re: Continue after a failing ant task In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 11:04 AM 1/22/2002 -0600, David.Bailey@lawson.com wrote: >We use a solution which gets around most of the build problems we >encounter. >The and tasks support 'failonerror' and 'whenempty' >attributes, respectively. >... The and tasks also have "failonerror" attributes and either can be used to invoke Ant on another build script. This identifies what would be yet-another-nice-feature-to-have which is a "onfailureproperty" for the and tasks which would set a property on failure rather than failing, as Markus suggested. Note that you can do this (and most anything else you want in Ant but it doesn't already do directly) by using the optional