You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Carlton Brown (JIRA)" <ji...@apache.org> on 2009/01/08 15:10:59 UTC
[jira] Created: (IVY-998) returnFirst should be attribute of chain
resolver, rather than standard resolver
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.