You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2012/08/15 13:29:38 UTC

[jira] [Resolved] (IVY-1353) It appears that the ignore circular dependency strategy is clobbering the warn strategy

     [ 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