Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 57223 invoked from network); 9 May 2002 01:07:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 May 2002 01:07:47 -0000 Received: (qmail 949 invoked by uid 97); 9 May 2002 01:07:44 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 887 invoked by uid 97); 9 May 2002 01:07:43 -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 871 invoked by uid 98); 9 May 2002 01:07:42 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <006f01c1f6f5$e97dca00$eba0f40f@Stelvio> From: "Steve Loughran" To: "Ant Users List" References: <98D21B073202584C9125C860580DC4ED0F5083@lgchexch006.ad.lgc.com> Subject: Re: if/else structure Date: Wed, 8 May 2002 18:07:38 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit 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 ----- Original Message ----- From: "Dominique Devienne" To: "'Ant Users List'" Sent: Wednesday, May 08, 2002 12:04 Subject: RE: if/else structure > That's actually a good idea, this 'requires' thingy? But I'd rather have it > on or , as an attribute. > > Consider the use case where a build file uses new feature of ANT 1.5. How is > it going to fail for 1.4.1 users? A crypt task or type not found? Or type > not allowed? Of course, adding this attribute now to 1.5 would also > fail miserably for pre-1.5 users, but in the future, whenever new version > come out, ANT could fail gracefully, with a proper message? have you seen what error message ant.15 gives on an unknown task? -- To unsubscribe, e-mail: For additional commands, e-mail: