[ 
https://issues.apache.org/jira/browse/IVY-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacob Aleksynas closed IVY-1370.
--------------------------------

    Resolution: Not A Problem

appologies, a non-transitive resolve was happening prior to the one I wished to 
check against, corrupting the cache.
                
> resolve checkIfChanged (ivy.deps.changed) does not compare transitive 
> dependencies
> ----------------------------------------------------------------------------------
>
>                 Key: IVY-1370
>                 URL: https://issues.apache.org/jira/browse/IVY-1370
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.0
>            Reporter: Jacob Aleksynas
>
> ivy.deps.changed is not returning expected results.
> By adding some debugging to the checkChanged method, I find that the parsing 
> of the previous resolve file from the resolution-cache (mrids) is compared to 
> the current dependencies.  The parsing of the previous resolve just lists the 
> DIRECT dependencies of the module; where are the list that is compared is the 
> fully transitive resolution of the module. therefore they never match when 
> they should. below is the results of said logging, resulting in hasChanged = 
> true.
> [ivy:resolve] STARTING previous report parsing: 
> C:\svn\trunk\build\target\ivy\resolution-cache\myorg-mymoduleC-runtime.xml
> [ivy:resolve] parser added: apache#commons-logging;1.1.1
> [ivy:resolve] parser added: apache#commons-collections;3.2.1
> [ivy:resolve] parser added: apache#log4j;1.2.8
> [ivy:resolve] parser added: myorg#mymoduleA;0.0.462820
> [ivy:resolve] parser added: myorg#mymoduleB;0.0.498568
> [ivy:resolve] current added: myorg#mymoduleB;0.0.498568
> [ivy:resolve] current added: jdom#jdom;1.1
> [ivy:resolve] current added: apache#axis2-runtime;1.4.1.1
> [ivy:resolve] current added: sun#activation;1.1
> [ivy:resolve] current added: apache#axiom-api;1.2.7
> [ivy:resolve] current added: apache#axiom-impl;1.2.7
> [ivy:resolve] current added: apache#axis2-adb;1.4.1
> [ivy:resolve] current added: apache#axis2-kernel;1.4.1.1
> [ivy:resolve] current added: emory#backport-util-concurrent;3.1
> [ivy:resolve] current added: apache#commons-codec;1.3
> [ivy:resolve] current added: apache#commons-fileupload;1.2
> [ivy:resolve] current added: apache#commons-httpclient;3.1
> [ivy:resolve] current added: apache#geronimo-stax-api;1.0.1
> [ivy:resolve] current added: apache#neethi;2.0.4
> [ivy:resolve] current added: apache#woden-api;1.0M8
> [ivy:resolve] current added: apache#wstx-asl;3.2.4
> [ivy:resolve] current added: apache#xercesImpl;2.8.1
> [ivy:resolve] current added: apache#xml-apis;1.3.04
> [ivy:resolve] current added: apache#xmlschema;1.4.2
> [ivy:resolve] current added: apache#wsdl4j;1.6.2
> [ivy:resolve] current added: java#jaxrpc;1.1
> [ivy:resolve] current added: springframework#spring;2.5.5
> [ivy:resolve] current added: myorg#myutilities;0.0.510650
> [ivy:resolve] current added: apache#commons-pool;1.2
> [ivy:resolve] current skipped: apache#commons-collections;2.1
> [ivy:resolve] current added: apache#commons-collections;3.2.1
> [ivy:resolve] current added: myorg#mymoduleA;0.0.462820
> [ivy:resolve] current added: apache#axiom-dom;1.2.7
> [ivy:resolve] current skipped: apache#axis2-kernel;1.4.1
> [ivy:resolve] current added: apache#log4j;1.2.8
> [ivy:resolve] current added: apache#commons-logging;1.1.1
> [ivy:resolve] previousDepSet: [apache#commons-collections;3.2.1, 
> myorg#mymoduleA;0.0.462820, apache#commons-logging;1.1.1, 
> myorg#mymoduleB;0.0.498568, apache#log4j;1.2.8]
> [ivy:resolve] currentDepSet: [myorg#mymoduleB;0.0.498568, jdom#jdom;1.1, 
> apache#axis2-runtime;1.4.1.1, sun#activation;1.1, apache#axiom-api;1.2.7, 
> apache#axiom-impl;1.2.7, apache#axis2-adb;1.4.1, apache#axis2-kernel;1.4.1.1, 
> emory#backport-util-concurrent;3.1, apache#commons-codec;1.3, 
> apache#commons-fileupload;1.2, apache#commons-httpclient;3.1, 
> apache#geronimo-stax-api;1.0.1, apache#neethi;2.0.4, apache#woden-api;1.0M8, 
> apache#wstx-asl;3.2.4, apache#xercesImpl;2.8.1, apache#xml-apis;1.3.04, 
> apache#xmlschema;1.4.2, apache#wsdl4j;1.6.2, java#jaxrpc;1.1, 
> springframework#spring;2.5.5, myorg#myutilities;0.0.510650, 
> apache#commons-pool;1.2, apache#commons-collections;3.2.1, 
> myorg#mymoduleA;0.0.462820, apache#axiom-dom;1.2.7, apache#log4j;1.2.8, 
> apache#commons-logging;1.1.1]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to