Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E2AA8CC9 for ; Wed, 7 Sep 2011 15:56:36 +0000 (UTC) Received: (qmail 88519 invoked by uid 500); 7 Sep 2011 15:56:35 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 87904 invoked by uid 500); 7 Sep 2011 15:56:34 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 87349 invoked by uid 99); 7 Sep 2011 15:56:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 15:56:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 15:56:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CF91F86F7C for ; Wed, 7 Sep 2011 15:56:09 +0000 (UTC) Date: Wed, 7 Sep 2011 15:56:09 +0000 (UTC) From: "Riccardo (JIRA)" To: notifications@ant.apache.org Message-ID: <315939404.26117.1315410969826.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (IVY-964) ivy:publish depends on ivy:retrieve MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099049#comment-13099049 ] Riccardo commented on IVY-964: ------------------------------ I have the same issue with the folling task snippet: I can fix it calling instead of above. But it would be cleaner if I wouldn't be forced to resolve so much. > 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: > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira