ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kebe (JIRA)" <>
Subject [jira] Commented: (IVY-677) ivy:publish ignores error when ant runs with "-quiet"
Date Wed, 02 Jul 2008 13:07:44 GMT


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:
>             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/....
> ... impossible to publish artifacts for myorg#mymodule;version:
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":
> 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.

View raw message