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

Gintas Grigelionis updated IVY-1078:
------------------------------------
    Description: 
After more than an hour of hunting down an error, displayed as 'bad revision 
found in ivy file', I finally saw that the path to the artifact to publish, was 
wrong. Thus I should have received a FileNotFoundException instead.

Output:
{code}
BUILD FAILED
c:\Documents and Settings\me\workspace\IvyTest\build.xml:101: impossible to 
publish artifacts for mycompany.com#MyComponent;working@MY-PC: 
java.lang.IllegalArgumentException: cannot publish c:\Documents and 
Settings\me\workspace\MyComponent.jar as 9.10: bad revision found in ivy file 
(Revision: 9.09). Use forcedeliver or update.
{code}
Regards,


  was:
After more than an hour of hunting down an error, displayed as 'bad revision 
found in ivy file', I finally saw that the path to the artifact to publish, was 
wrong. Thus I should have received a FileNotFoundException instead.

Output:

BUILD FAILED
c:\Documents and Settings\me\workspace\IvyTest\build.xml:101: impossible to 
publish artifacts for mycompany.com#MyComponent;working@MY-PC: 
java.lang.IllegalArgumentException: cannot publish c:\Documents and 
Settings\me\workspace\MyComponent.jar as 9.10: bad revision found in ivy file 
(Revision: 9.09). Use forcedeliver or update.

Regards,



> Wrong error message when publishing
> -----------------------------------
>
>                 Key: IVY-1078
>                 URL: https://issues.apache.org/jira/browse/IVY-1078
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC1
>            Reporter: hem006
>
> After more than an hour of hunting down an error, displayed as 'bad revision 
> found in ivy file', I finally saw that the path to the artifact to publish, 
> was wrong. Thus I should have received a FileNotFoundException instead.
> Output:
> {code}
> BUILD FAILED
> c:\Documents and Settings\me\workspace\IvyTest\build.xml:101: impossible to 
> publish artifacts for mycompany.com#MyComponent;working@MY-PC: 
> java.lang.IllegalArgumentException: cannot publish c:\Documents and 
> Settings\me\workspace\MyComponent.jar as 9.10: bad revision found in ivy file 
> (Revision: 9.09). Use forcedeliver or update.
> {code}
> Regards,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to