ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim A (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1223) ivy:info does not resolve the correct revision with returnFirst="true" on a chain resolver
Date Tue, 31 Aug 2010 13:03:00 GMT
ivy:info does not resolve the correct revision with returnFirst="true" on a chain resolver
------------------------------------------------------------------------------------------

                 Key: IVY-1223
                 URL: https://issues.apache.org/jira/browse/IVY-1223
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.2.0-RC1
         Environment: Windows XP, Eclipse 3.5, IvyDE plugin
            Reporter: Tim A


ivy:info does not appear to be honouring returnFirst="true" on a chain resolver.

The default resolver is configured as follows:

		<chain name="default" returnFirst="true">
			<resolver ref="local"/>
			<resolver ref="main"/>
		</chain>

Revision 1.0-SNAPSHOT of module A exists in local, and revision 9.5.0.0.1322 of module A exists
in main.  The following call:

		<ivy:info organisation="X" module="A" revision="latest.integration" />

resolves 9.5.0.0.1322, which is located in main.  1.0-SNAPSHOT from local should have been
resolved, because of returnFirst="true".

If module B has a dependency on module A, and B calls ivy:resolve, then 1.0-SNAPSHOT is the
version that is resolved, which is correct.

Using ivy:findrevision gives the same problem as using ivy:info.

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