[ 
https://issues.apache.org/jira/browse/IVY-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xavier Hanin updated IVY-677:
-----------------------------

    Fix Version/s: 2.0

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