Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 6147 invoked from network); 16 Jan 2001 17:07:17 -0000 Received: from femail5.sdc1.sfba.home.com (24.0.95.85) by h31.sny.collab.net with SMTP; 16 Jan 2001 17:07:17 -0000 Received: from alsatian ([24.18.23.12]) by femail5.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with SMTP id <20010116170720.JLAJ18198.femail5.sdc1.sfba.home.com@alsatian> for ; Tue, 16 Jan 2001 09:07:20 -0800 Message-ID: <13ff01c07fde$c98b9810$020a0a0a@alsatian> From: "Jason Rosenberg" To: References: <18408975555FD411AD8C00D0B72032FD3C1EB2@SODALITH.popnet.de> Subject: Re: force fail in script ? Date: Tue, 16 Jan 2001 12:05:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Marco, The way I force a fail is to instantiate a fail task object, call its setMessage method, and then its execute method. You can do the same type of thing with an echo task object. Alternatively, you can call the project.log() method to output stuff too. Jason ----- Original Message ----- From: "Marco Struck" To: Sent: Tuesday, January 16, 2001 7:45 AM Subject: force fail in script ? > hi, > > how can I force a fail (fail message) in