ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferry Tanu (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-964) ivy:publish depends on ivy:retrieve
Date Fri, 31 Oct 2008 01:48:46 GMT
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