ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Clitheroe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-964) ivy:publish depends on ivy:retrieve
Date Wed, 20 May 2009 20:56:45 GMT

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

Geoff Clitheroe commented on IVY-964:
-------------------------------------

I have the same issue.  I'm using Ivy 2.1.0-rc1.  I can either call ivy:retrieve before the
publish as above or set revison="working" in the publish.

> ivy:publish depends on ivy:retrieve
> -----------------------------------
>
>                 Key: IVY-964
>                 URL: https://issues.apache.org/jira/browse/IVY-964
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0-RC1
>         Environment: Windows, JDK1.4.2
>            Reporter: Ferry Tanu
>            Priority: Trivial
>
> calling the following task, without ivy:retrieve:
>              <ivy:publish organisation="your_module_org"
>                                 module="your_module_name"
>                                 revision="your module_revision"
>                                 artifactspattern="${distrib.dir}/[artifact].[ext]"
>                                  resolver="local"
>                                  pubrevision="${app.version}"
>                                  status="release"/>
> will generate a build failed:
> C:\workspace\sources\build.xml:60: your_module_org#your_module_name;1.0.0: 
> java.lang.IllegalStateException: ivy file not found in cache for your_module_org#your_module_name
> ;1.0.0: please resolve dependencies before delivering (C:\Documents
> and Settings\user\.ivy2\cache\resolved-your_module_org-your_module_name-1.0.0.xml)
> if ivy:retrieve called before ivy:publish, this error will not occurred. 
> Note: remove the organisation, module, and revision attribute in ivy:publish, if you
want to call ivy:retrieve beforehand

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message