Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 16894 invoked from network); 12 Jun 2009 14:34:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 14:34:10 -0000 Received: (qmail 63703 invoked by uid 500); 12 Jun 2009 14:34:21 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 63646 invoked by uid 500); 12 Jun 2009 14:34:21 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 63637 invoked by uid 99); 12 Jun 2009 14:34:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 14:34:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 14:34:18 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 4152B234C046; Fri, 12 Jun 2009 07:33:57 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 47362] New: Copy task failonerror does not fail for .... X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matt.kirkley@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 12 Jun 2009 07:33:57 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=47362 Summary: Copy task failonerror does not fail for .... Product: Ant Version: 1.7.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: notifications@ant.apache.org ReportedBy: matt.kirkley@gmail.com CC: matt.kirkley@gmail.com If you have a copy task that copies from a URL where the server is down or does not exist a java.net.UnknownHostException, or a java.net.ConnectException will be thrown. Even though these exceptions are thrown and failonerror="true" in the copy task, the build will continue on. Now lets say the URL is valid and the file doesn't exist on the server. A filenot found exception will be thrown and the build will fail as it should. This looks like a bug to me? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.