Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 32849 invoked from network); 26 Feb 2009 22:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 22:27:23 -0000 Received: (qmail 85625 invoked by uid 500); 26 Feb 2009 22:27:23 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 85603 invoked by uid 500); 26 Feb 2009 22:27:23 -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 85594 invoked by uid 99); 26 Feb 2009 22:27:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 14:27:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 22:27:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F2375234C48D for ; Thu, 26 Feb 2009 14:27:01 -0800 (PST) Message-ID: <868905815.1235687221991.JavaMail.jira@brutus> Date: Thu, 26 Feb 2009 14:27:01 -0800 (PST) From: "Maarten Coene (JIRA)" To: notifications@ant.apache.org Subject: [jira] Commented: (IVY-1034) Dynamic revision resolve correctly but cannot retrieve In-Reply-To: <1950414492.1235663705921.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677164#action_12677164 ] Maarten Coene commented on IVY-1034: ------------------------------------ Could you please upload the ant verbose output for Ivy 2.0.0 (not the beta) ? Could you also post your ivysettings.xml ? > Dynamic revision resolve correctly but cannot retrieve > ------------------------------------------------------ > > Key: IVY-1034 > URL: https://issues.apache.org/jira/browse/IVY-1034 > Project: Ivy > Issue Type: Bug > Components: Core > Affects Versions: 2.0 > Environment: Red Hat Linux, Java 1.5 Ant 1.7 > Reporter: Daniel Holmes > > I have an internal repository which includes log4j module of version 1.2.15 > a dependency clause of > > is properly resolved, but doesn't then retrieve > a dependency clause of > > will resolve and retrieve correctly. > I tried with 2.0.0.beta2 that I had and with 2.0.0. From the beta2 output, it appears to be attempting to use the rev of the dependency clause in the pattern replacement rather than the actual version that was selected in the resolve. Outputs below, > 2.0.0 Beta2 output > No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used > [null] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ :: > [null] :: loading settings :: file = /u/dholmes/p4/newportNews/ivysettings.xml > [ivy:retrieve] :: resolving dependencies :: com.netapp#netapp-common;@revision@ > [ivy:retrieve] confs: [deploy] > [ivy:retrieve] found net.sf#cglib;2.1.3 in public > [ivy:retrieve] found org.apache#license;2.0 in public > [ivy:retrieve] found org.apache#commons-cli;2.20061128 in public > [ivy:retrieve] found org.mortbay#jetty;6.1.9 in public > [ivy:retrieve] found org.apache#xmlbeans;2.3.0 in public > [ivy:retrieve] found org.ho#jyaml;1.3 in public > [ivy:retrieve] found org.ho#license;0 in public > [ivy:retrieve] found org.apache#commons-dbcp;1.2.2 in public > [ivy:retrieve] found org.apache#commons-jexl;1.1 in public > [ivy:retrieve] found org.apache#commons-pool;1.3 in public > [ivy:retrieve] found javax#jaxb;2.1.7 in public > [ivy:retrieve] found org.apache#cxf;2.1.1 in public > [ivy:retrieve] found org.springframework#spring;2.5.5 in public > [ivy:retrieve] found org.apache#commons-lang;2.4 in public > [ivy:retrieve] found org.apache#commons-logging;1.1.1 in public > [ivy:retrieve] found org.apache#commons-codec;1.3 in public > [ivy:retrieve] found com.netapp#manage-ontap;2.0 in public > [ivy:retrieve] found javax#saaj;1.3 in public > [ivy:retrieve] found jline#jline;0.9.93 in public > [ivy:retrieve] found org.apache#derby;10.1.2.1 in public > [ivy:retrieve] :: resolution report :: resolve 2061ms :: artifacts dl 83ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | deploy | 21 | 0 | 0 | 0 || 37 | 0 | > --------------------------------------------------------------------- > [ivy:retrieve] > [ivy:retrieve] :: problems summary :: > [ivy:retrieve] :::: WARNINGS > [ivy:retrieve] module not found: org.apache#log4j;1.2.+ > [ivy:retrieve] ==== local: tried > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/1.2.+/ivys/ivy.xml > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/[revision]/ivys/ivy.xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/1.2.+/jars/log4j.jar > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/[revision]/jars/log4j.jar > [ivy:retrieve] ==== shared: tried > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/1.2.+/ivys/ivy.xml > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/[revision]/ivys/ivy.xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/1.2.+/jars/log4j.jar > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/[revision]/jars/log4j.jar > [ivy:retrieve] ==== public: tried > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/1.2.+/ivy-log4j-1.2.+.xml > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/ivy-log4j-[revision].xml > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/1.2.+/ivy-license-org.apache-1.2.+.xml > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/ivy-license-org.apache-[revision].xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/1.2.+/log4j.jar > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/log4j.jar > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/1.2.+/log4j-1.2.+.jar > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/log4j-[revision].jar > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: org.apache#log4j;1.2.+: not found > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > 2.0.0 release output > No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used > [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: > :: loading settings :: file = /u/dholmes/p4/newportNews/ivysettings.xml > [ivy:retrieve] :: resolving dependencies :: com.netapp#netapp-common;@revision@ > [ivy:retrieve] confs: [deploy] > [ivy:retrieve] found net.sf#cglib;2.1.3 in public > [ivy:retrieve] found org.apache#license;2.0 in public > [ivy:retrieve] found org.apache#commons-cli;2.20061128 in public > [ivy:retrieve] found org.mortbay#jetty;6.1.9 in public > [ivy:retrieve] found org.apache#xmlbeans;2.3.0 in public > [ivy:retrieve] found org.ho#jyaml;1.3 in public > [ivy:retrieve] found org.ho#license;0 in public > [ivy:retrieve] found org.apache#commons-dbcp;1.2.2 in public > [ivy:retrieve] found org.apache#commons-jexl;1.1 in public > [ivy:retrieve] found org.apache#commons-pool;1.3 in public > [ivy:retrieve] found javax#jaxb;2.1.7 in public > [ivy:retrieve] found org.apache#cxf;2.1.1 in public > [ivy:retrieve] found org.springframework#spring;2.5.5 in public > [ivy:retrieve] found org.apache#commons-lang;2.4 in public > [ivy:retrieve] found org.apache#commons-logging;1.1.1 in public > [ivy:retrieve] found org.apache#commons-codec;1.3 in public > [ivy:retrieve] found com.netapp#manage-ontap;2.0 in public > [ivy:retrieve] found javax#saaj;1.3 in public > [ivy:retrieve] found jline#jline;0.9.93 in public > [ivy:retrieve] found org.apache#derby;10.1.2.1 in public > [ivy:retrieve] :: resolution report :: resolve 641ms :: artifacts dl 61ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | deploy | 21 | 0 | 0 | 0 || 37 | 0 | > --------------------------------------------------------------------- > [ivy:retrieve] > [ivy:retrieve] :: problems summary :: > [ivy:retrieve] :::: WARNINGS > [ivy:retrieve] module not found: org.apache#log4j;1.2.+ > [ivy:retrieve] ==== local: tried > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/[revision]/ivys/ivy.xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/.ivy2/local/org.apache/log4j/[revision]/jars/log4j.jar > [ivy:retrieve] ==== shared: tried > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/[revision]/ivys/ivy.xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/.ivy2/shared/org.apache/log4j/[revision]/jars/log4j.jar > [ivy:retrieve] ==== public: tried > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/ivy-log4j-[revision].xml > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/ivy-license-org.apache-[revision].xml > [ivy:retrieve] -- artifact org.apache#log4j;1.2.+!log4j.jar: > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/log4j.jar > [ivy:retrieve] /u/dholmes/p4/newportNewsIvyRepository/org.apache/log4j/[revision]/log4j-[revision].jar > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: org.apache#log4j;1.2.+: not found > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] > [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > resolve output > -bash-3.2$ java -Dcommon.depot.client.root=/u/dholmes/p4/newportNews/IvyRepository -jar ivy-2.0.0.jar -settings ivysettings.xml -ivy ivy-netapp-common.xml > :: loading settings :: file = ivysettings.xml > :: resolving dependencies :: com.netapp#netapp-common;@revision@ > confs: [license, dev, deploy] > found net.sf#cglib;2.1.3 in public > found org.apache#license;2.0 in public > found org.apache#commons-cli;2.20061128 in public > found org.mortbay#jetty;6.1.9 in public > found org.apache#xmlbeans;2.3.0 in public > found org.ho#jyaml;1.3 in public > found org.ho#license;0 in public > found org.apache#commons-dbcp;1.2.2 in public > found org.apache#commons-jexl;1.1 in public > found org.apache#commons-pool;1.3 in public > found javax#jaxb;2.1.7 in public > found org.apache#cxf;2.1.1 in public > found org.springframework#spring;2.5.5 in public > found org.apache#log4j;1.2.15 in public > [1.2.15] org.apache#log4j;1.2.+ > found org.apache#commons-lang;2.4 in public > found org.apache#commons-logging;1.1.1 in public > found org.apache#commons-codec;1.3 in public > found com.netapp#manage-ontap;2.0 in public > found javax#saaj;1.3 in public > found jline#jline;0.9.93 in public > found org.apache#derby;10.1.2.1 in public > :: resolution report :: resolve 808ms :: artifacts dl 104ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | license | 0 | 0 | 0 | 0 || 0 | 0 | > | dev | 21 | 1 | 0 | 0 || 38 | 0 | > | deploy | 21 | 1 | 0 | 0 || 38 | 0 | > --------------------------------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.