ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (IVY-1353) It appears that the ignore circular dependency strategy is clobbering the warn strategy
Date Wed, 15 Aug 2012 11:29:38 GMT

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

Nicolas Lalevée resolved IVY-1353.
----------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
                   2.3.0
         Assignee: Nicolas Lalevée

Patch applied, thank you.
                
> It appears that the ignore circular dependency strategy is clobbering the warn strategy
> ---------------------------------------------------------------------------------------
>
>                 Key: IVY-1353
>                 URL: https://issues.apache.org/jira/browse/IVY-1353
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.3.0-RC1
>            Reporter: Carl Quinn
>            Assignee: Nicolas Lalevée
>            Priority: Critical
>              Labels: patch
>             Fix For: 2.3.0, trunk
>
>
> In org.apache.ivy.plugins.circular the IgnoreCircularDependencyStrategy class has this
constructor:
> {code}
> private IgnoreCircularDependencyStrategy() {
>     super("warn");
> }
> {code}
> Thus is claiming to be the warn strategy and then clobbers the real warn strategy when
it is registered in IvySettings.configureDefaultCircularDependencyStrategies()
> I think the fix is to just change the above string to "ignore", so:
> {code}
> private IgnoreCircularDependencyStrategy() {
>     super("ignore");
> }
> {code}

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

       

Mime
View raw message