ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Quinn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1353) It appears that the ignore circular dependency strategy is clobbering the warn strategy
Date Tue, 29 May 2012 22:07:24 GMT
Carl Quinn created IVY-1353:
-------------------------------

             Summary: 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
            Priority: Critical


In org.apache.ivy.plugins.circular the IgnoreCircularDependencyStrategy class has this constructor:

    private IgnoreCircularDependencyStrategy() {
        super("warn");
    }

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


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