ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Hale (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-794) cachepath, retrieve, and possibly other post-resolve tasks use incorrect dependencies
Date Mon, 07 Apr 2008 12:52:24 GMT
cachepath, retrieve, and possibly other post-resolve tasks use incorrect dependencies
-------------------------------------------------------------------------------------

                 Key: IVY-794
                 URL: https://issues.apache.org/jira/browse/IVY-794
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.0.0-beta-2
            Reporter: Ben Hale


It appears that currently when trying to create a cachepath or execute the retrieve target,
the targets use the wrong version of the dependency list.  It appears that the path that is
used still contains elements that should have been evicted in conflict.  So for example:

{noformat}
[ivy:cachepath] :: resolution report :: resolve 522ms :: artifacts dl 42ms
[ivy:cachepath]         :: evicted modules:
[ivy:cachepath]         org.springframework#spring-jdbc;2.5.2 by [org.springframework#spring-jdbc;2.5.3]
in [compile]
[ivy:cachepath]         org.apache#commons-logging;1.1 by [org.apache#commons-logging;1.1.1]
in [compile]
[ivy:cachepath]         org.springframework#spring-beans;2.5.2 transitively in [compile]
[ivy:cachepath]         org.springframework#spring-core;2.5.2 transitively in [compile]
[ivy:cachepath]         org.springframework#spring-context;2.5.2 transitively in [compile]
[ivy:cachepath]         org.springframework#spring-tx;2.5.2 transitively in [compile]
[ivy:cachepath]         org.springframework#spring-web;2.5.2 by [org.springframework#spring-web;2.5.3]
in [compile]
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      compile     |   51  |   3   |   0   |   7   ||   85  |   0   |
        |      runtime     |   12  |   0   |   0   |   0   ||   24  |   0   |
        ---------------------------------------------------------------------
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework.security/spring-security-core/spring-security-core-2.0.0.m2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework.security/spring-security-taglibs/spring-security-taglibs-2.0.0.m2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework.security/spring-security-acl/spring-security-acl-2.0.0.m2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.aopalliance/aopalliance/aopalliance-1.0.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/javax.servlet/jstl/jstl-1.1.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/javax.persistence/persistence-api/persistence-api-1.0.0.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache/commons-codec/commons-codec-1.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.commons/commons-beanutils/commons-beanutils-1.7.0.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.commons/commons-collections/commons-collections-3.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.commons/commons-digester/commons-digester-1.8.0.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.taglibs/standard/standard-1.1.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.tiles/tiles-api/tiles-api-2.0.5.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.tiles/tiles-core/tiles-core-2.0.5.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.tiles/tiles-jsp/tiles-jsp-2.0.5.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.antlr/antlr/antlr-2.7.6.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.hibernate/hibernate/hibernate-3.2.5.ga.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.dom4j/dom4j/dom4j-1.6.1.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/javax.transaction/jta/jta-1.1.0.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.hibernate/hibernate-entitymanager/hibernate-entitymanager-3.3.1.ga.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.hibernate/hibernate-annotations/hibernate-annotations-3.3.0.ga.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.hibernate/hibernate-commons-annotations/hibernate-commons-annotations-3.3.0.ga.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.hsqldb/hsqldb/hsqldb-1.8.0.9.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.jboss/jboss-common-core/jboss-common-core-2.0.4.GA.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.jboss/javassist/javassist-3.3.ga.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.ognl/ognl/ognl-2.6.9.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-aop/spring-aop-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-beans/spring-beans-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-core/spring-core-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-jdbc/spring-jdbc-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-context/spring-context-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-tx/spring-tx-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-orm/spring-orm-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/integration-repo/org.springframework.webflow/spring-js/spring-js-2.0.0.build-20080407113400.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache/commons-logging/commons-logging-1.1.1.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/integration-repo/org.springframework.webflow/spring-webflow/spring-webflow-2.0.0.build-20080407113400.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-web/spring-web-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-webmvc/spring-webmvc-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-context-support/spring-context-support-2.5.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/javax.activation/activation/activation-1.1.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/javax.mail/mail/mail-1.4.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/integration-repo/org.springframework.webflow/spring-binding/spring-binding-2.0.0.build-20080407113400.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.junit/junit/junit-3.8.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/net.sf.cglib/cglib_nodep/cglib_nodep-2.1.3.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/edu.oswego.cs/concurrent/concurrent-1.3.4.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache.logging/log4j/log4j-1.2.15.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-jdbc/spring-jdbc-2.5.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.apache/commons-logging/commons-logging-1.1.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-beans/spring-beans-2.5.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-core/spring-core-2.5.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-context/spring-context-2.5.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-tx/spring-tx-2.5.2.jar
     [echo] /Users/benhale/development/public/spring-webflow/trunk/ivy-cache/repository/org.springframework/spring-web/spring-web-2.5.2.jar
{noformat}

You can see that the cachepath task (the resolve part of it) evicts JARs like "org.springframework#spring-beans;2.5.2",
but they still show up in the path that is created.


-- 
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