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 34397 invoked from network); 25 Jul 2000 13:54:53 -0000 Received: from mf1.time0.com (208.147.100.72) by locus.apache.org with SMTP; 25 Jul 2000 13:54:53 -0000 Received: from jupiter.time0.com (jupiter.time0.com [208.147.100.89]) by mf1.time0.com (8.9.3/8.9.0) with ESMTP id JAA19894 for ; Tue, 25 Jul 2000 09:54:52 -0400 (EDT) Received: by jupiter.time0.com with Internet Mail Service (5.5.2650.21) id ; Tue, 25 Jul 2000 09:54:53 -0400 Message-ID: From: "Nelson, Laird" To: "'ant-dev@jakarta.apache.org'" Subject: RE: [RFE] Default Help target on error ? Date: Tue, 25 Jul 2000 09:54:52 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Stefan Bodewig [mailto:bodewig@bost.de] > On the other hand one can do the same using just if and unless on > targets as well as an echo task - it would be the more forgiving way > as well: > > > > > .... do the stuff you need to do > > > > > Right, but in the spirit (I hope) of ant I'd rather have this more explicit--part of project initialization. It's odd to have your main target depend on a reporterror target. And if your platform isn't set up right, you don't *want* it to be forgiving. I like the idea of a die task, but then I have some fond memories of perl. :-) Cheers, Laird