[ 
https://issues.apache.org/jira/browse/IVY-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609925#action_12609925
 ] 

Henning Schmiedehausen commented on IVY-677:
--------------------------------------------

Well, maybe it is fixed with beta-2. I don't know. If you use a different 
environment than I did to reproduce a bug, there is a good chance that you will 
not be able to do so.

I filed this bug almost seven months ago. I no longer work on that project 
which uses ivy, so I can not send you any files, sorry.



> 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.

Reply via email to