ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Schmiedehausen (JIRA)" <>
Subject [jira] Created: (IVY-677) ivy:publish ignores error when ant runs with "-quiet"
Date Tue, 18 Dec 2007 15:54:45 GMT
ivy:publish ignores error when ant runs with "-quiet"

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

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

[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