You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2014/03/26 22:54:23 UTC
[jira] [Updated] (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 ]
Maarten Coene updated IVY-1353:
-------------------------------
Fix Version/s: (was: trunk)
2.4.0-RC1
> 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-RC2, 2.4.0-RC1
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)