Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 459869F92 for ; Thu, 2 Feb 2012 05:47:20 +0000 (UTC) Received: (qmail 16119 invoked by uid 500); 2 Feb 2012 05:47:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 15285 invoked by uid 500); 2 Feb 2012 05:47:06 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 15265 invoked by uid 99); 2 Feb 2012 05:47:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 05:47:01 +0000 X-ASF-Spam-Status: No, hits=4.3 required=5.0 tests=FROM_12LTRDOM,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of a.kumar@castsoftware.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 05:46:54 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RspVB-000145-Dn for user@ant.apache.org; Wed, 01 Feb 2012 21:46:33 -0800 Date: Wed, 1 Feb 2012 21:46:33 -0800 (PST) From: Anil To: user@ant.apache.org Message-ID: <1328161593421-5449682.post@n5.nabble.com> Subject: Stop as soon as target run into error or fail MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have 5 different action in 5 target and what I want is if target1 run into error, stop the ANT /build at that point show error message on command window. Even if my target AKU failed ANT continue to next target CCC. I want to show customized error message if AKU task failed and stop execution. -- View this message in context: http://ant.1045680.n5.nabble.com/Stop-as-soon-as-target-run-into-error-or-fail-tp5449682p5449682.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org