Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 40304 invoked from network); 15 Jan 2004 14:25:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Jan 2004 14:25:15 -0000 Received: (qmail 51065 invoked by uid 500); 15 Jan 2004 14:25:08 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 51030 invoked by uid 500); 15 Jan 2004 14:25:08 -0000 Mailing-List: contact dev-help@ant.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 dev@ant.apache.org Received: (qmail 51017 invoked from network); 15 Jan 2004 14:25:08 -0000 Received: from unknown (HELO amer-mta02.csc.com) (20.137.2.248) by daedalus.apache.org with SMTP; 15 Jan 2004 14:25:08 -0000 Received: from amer-mta02.csc.com (localhost [127.0.0.1]) by amer-mta02.csc.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id i0FEQCXC004525 for ; Thu, 15 Jan 2004 09:26:12 -0500 (EST) Received: from csc.com (va-fch32.csc.com [20.6.39.233]) by amer-mta02.csc.com (Switch-3.1.2/Switch-3.1.0) with ESMTP id i0FEQ3XD004449 for ; Thu, 15 Jan 2004 09:26:09 -0500 (EST) Subject: taskdef onerror problem To: dev@ant.apache.org X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: Simon Jefferies Date: Thu, 15 Jan 2004 14:23:51 +0000 X-MIMETrack: Serialize by Router on VA-FCH32/SRV/CSC(Release 6.0.3|September 26, 2003) at 01/15/2004 09:23:26 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >From the ANT 1.6 documentation, it says that taskdef is a form of typedef which provides the 'onerror' attribute. The doc then goes on to say... The values are fail - cause a build exception, warn output a warning, but continue, ignore, do nothing. The default is fail. (introduced in ant1.6) ... the problem I am having is that 'warn' does not work giving me a "warn is not a legal value for this attribute" message, but 'fail' and 'ignore' do work. Is this a bug or have I missed something? Example Usage: etc etc Thanks in advance Simon Jefferies ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org