You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Michael Kebe (JIRA)" <ji...@apache.org> on 2008/07/02 15:07:44 UTC
[jira] Commented: (IVY-677) ivy:publish ignores error when ant runs
with "-quiet"
[ https://issues.apache.org/jira/browse/IVY-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609913#action_12609913 ]
Michael Kebe commented on IVY-677:
----------------------------------
I tried to reproduce this with my ivy setup and in both cases (with "-quiet" and without) die build fails.
I am using ant 1.7 and ivy 2.0.0-beta2.
I would be great if you can give us more information (ivy.xml, ivysettings.xml) and really really helpful a testsetup to reproduce this.
> ivy:publish ignores error when ant runs with "-quiet"
> -----------------------------------------------------
>
> Key: IVY-677
> URL: https://issues.apache.org/jira/browse/IVY-677
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Affects Versions: 2.0.0-beta-1
> Environment: Linux, JDK 1.4.2
> Reporter: Henning Schmiedehausen
> Fix For: 2.0-RC1
>
>
> I deploy artifacts into a repository using <ivy:publish ... overwrite="false".
> When running a regular build using "ant" and I have already deployed an artifact, it reports correctly
> [ivy:publish] publish aborted: deleted /home/henning/....
> BUILD FAILED
> ... impossible to publish artifacts for myorg#mymodule;version: java.io.IOException: file copy not done from xxx to yyy: destination probably exists and overwrite is false.
> and echo $? (return code from ant) is 1.
> When I run "ant -quiet":
> BUILD SUCCESSFUL
> and echo $? returns 0.
> Looks bad to me. If my build is not able to publish an artifact because I disallowed overwrite, this IMHO is a build failure and should not be ignored when running quiet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.