Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 2532 invoked from network); 5 May 2009 15:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 15:15:26 -0000 Received: (qmail 2456 invoked by uid 500); 5 May 2009 15:15:25 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 2358 invoked by uid 500); 5 May 2009 15:15:25 -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 2332 invoked by uid 99); 5 May 2009 15:15:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 15:15:23 +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; Tue, 05 May 2009 15:15:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 93E91234C046 for ; Tue, 5 May 2009 08:14:30 -0700 (PDT) Message-ID: <1570449161.1241536470604.JavaMail.jira@brutus> Date: Tue, 5 May 2009 08:14:30 -0700 (PDT) From: "Matt Khan (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-971) ivy:install with haltonfailure="false" stops due to not overwriting a file when it should not stop. In-Reply-To: <828932002.1226969444195.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706062#action_12706062 ] Matt Khan commented on IVY-971: ------------------------------- fwiw it appears this patch breaks if ivy pattern != artifact pattern as the call toResolver.exists(metaData) can end up going through AbstractPatternsBasedResolver#findArtifactRef(Artifact, Date) which uses artifactsPatterns > ivy:install with haltonfailure="false" stops due to not overwriting a file when it should not stop. > --------------------------------------------------------------------------------------------------- > > Key: IVY-971 > URL: https://issues.apache.org/jira/browse/IVY-971 > Project: Ivy > Issue Type: Bug > Components: Ant > Affects Versions: 2.0-RC2 > Reporter: Benjamin Damm > Attachments: ivy-971.patch > > > Here's an example run: > [echo] Optional: > [echo] transitive: true > [echo] overwrite: false > [echo] haltonfailure: false > [ivy:install] :: installing commons-attributes#commons-attributes-compiler;2.1 :: > [ivy:install] :: resolving dependencies :: > [ivy:install] found commons-attributes#commons-attributes-compiler;2.1 in ivycontrib_m2 > [ivy:install] found commons-attributes#commons-attributes-api;2.1 in ivycontrib_m2 > [ivy:install] found ant#ant;1.5 in ivycontrib_m2 > [ivy:install] found qdox#qdox;1.5 in ivycontrib_m2 > [ivy:install] :: downloading artifacts to cache :: > [ivy:install] :: installing in ivycontrib_m2 :: > BUILD FAILED > /home/bdamm/workspace/main/eng/contrib/build.xml:53: impossible to install commons-attributes#commons-attributes-compiler;2.1: java.io.IOException: file copy not done from /home/bdamm/workspace/main/eng/contrib/../contrib/m2/commons-attributes/commons-attributes-compiler/2.1/sources/commons-attributes-compiler-2.1.jar to /home/bdamm/workspace/main/eng/contrib/../contrib/m2/commons-attributes/commons-attributes-compiler/2.1/sources/commons-attributes-compiler-2.1.jar: destination already exists and overwrite is false -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.