ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlton Brown (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-998) returnFirst should be attribute of chain resolver, rather than standard resolver
Date Thu, 08 Jan 2009 14:10:59 GMT
returnFirst should be attribute of chain resolver, rather than standard resolver
--------------------------------------------------------------------------------

                 Key: IVY-998
                 URL: https://issues.apache.org/jira/browse/IVY-998
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0-RC2
         Environment: n/a
            Reporter: Carlton Brown
            Priority: Minor


Currently, the returnFirst setting is an attribute of standard resolvers.

This creates a significant problem with the use case where there is a standard resolver which
should be returned first in some chains, but not in others.   The only workaround is to define
duplicates of the same resolver, one where returnFirst is true, and one where it is false.
  This kludge can cause the number of resolvers to increase geometrically if there are many
of them.

I think this could be easily solved by making returnFirst an attribute of chain resolvers.
  Any chain resolver where returnFirst is set would return the first resolver in the chain.
  

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