Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 46056 invoked by uid 500); 20 Apr 2001 18:50:24 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 45982 invoked from network); 20 Apr 2001 18:50:21 -0000 Message-ID: <20010420185026.77177.qmail@web13402.mail.yahoo.com> Date: Fri, 20 Apr 2001 11:50:26 -0700 (PDT) From: Diane Holt Subject: Re: Question: fail handling in ANT To: ant-user@jakarta.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N For a specific file, you can use a combination of the task and the "unless" attribute: Diane --- Jiong Wei wrote: > > I notice the "failonerror" attribute only available for the following > tasks: > > and .NET tasks > > If true, then how to fail a build when such as a critical failed? > Currently, even when the src file is missing, ant still continues. > > Also, the I really have no clue how to tigger the task, is there > a > ant property indicates the status of last operation? > > Jiong > > ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/