Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 4481 invoked from network); 30 Nov 2001 21:27:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 30 Nov 2001 21:27:33 -0000 Received: (qmail 20307 invoked by uid 97); 30 Nov 2001 21:27:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 20258 invoked by uid 97); 30 Nov 2001 21:27:33 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 20247 invoked from network); 30 Nov 2001 21:27:32 -0000 Message-ID: <010201c179e5$4966f380$0100a8c0@jose> From: "Jose Alberto Fernandez" To: "Ant Developers List" References: <005101c179af$749739b0$0100a8c0@jose> <015301c179dc$de98b3c0$d0a4f40f@nordwand> Subject: Re: To fail or not to fail Date: Fri, 30 Nov 2001 21:23:41 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Steve Loughran" >=20 > I think adding if and unless tests to fail would suffice for much now. > Complex conditions can go into a test which immediately = preceeds > the . >=20 > Note that there is already a sort of hack to implement by = virtue > of the fact that many tasks fail if the params are wrong. So if you = set up > the parameters right from a condition call you can force a conditional > failure:- >=20 > > > > > > >=20 I cannot believe that build engineers will rely in hacks like that for a = build process. How can such code be maintainable or be able to give any reasonable = explanation about a failure. Jose Alberto -- To unsubscribe, e-mail: For additional commands, e-mail: