You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Lauri Piispanen (JIRA)" <ji...@apache.org> on 2009/03/27 10:16:51 UTC
[jira] Updated: (IVY-971) ivy:install with haltonfailure="false"
stops due to not overwriting a file when it should not stop.
[ https://issues.apache.org/jira/browse/IVY-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lauri Piispanen updated IVY-971:
--------------------------------
Attachment: ivy-971.patch
I've created a patch for InstallEngine and InstallOptions that checks the receiving repository for an existing artifact and doesn't republish if overwrite='ignore'.
> 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.