ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Holmes (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1034) Dynamic revision resolve correctly but cannot retrieve
Date Thu, 26 Feb 2009 15:55:05 GMT
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
    <dependency conf="deploy" org="org.apache" name="log4j" rev="1.2.+"/>
is properly resolved, but doesn't then retrieve

a dependency clause of 
    <dependency conf="deploy" org="org.apache" name="log4j" rev="1.2.15"/>
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.


Mime
View raw message