Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Cyclic reference between projects


As part of my attempt to fix bug 539307 [1], I added a use of something from EditorTestHelper, in CodanEditorUtility. This required adding "org.eclipse.cdt.ui.tests" to the list of bundles required by "org.eclipse.cdt.codan.ui".

When I pushed this patch to Gerrit, the test run [2] failed with the following error:

[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.eclipse.cdt:org.eclipse.cdt.core.tests:5.4.0-SNAPSHOT'}' and 'Vertex{label='org.eclipse.cdt:org.eclipse.cdt.codan.checkers.ui:3.2.1-SNAPSHOT'}' introduces to cycle in the graph org.eclipse.cdt:org.eclipse.cdt.codan.checkers.ui:3.2.1-SNAPSHOT --> org.eclipse.cdt:org.eclipse.cdt.codan.ui.cxx:3.4.0-SNAPSHOT --> org.eclipse.cdt:org.eclipse.cdt.codan.ui:3.3.0-SNAPSHOT --> org.eclipse.cdt:org.eclipse.cdt.core.tests:5.4.0-SNAPSHOT --> org.eclipse.cdt:org.eclipse.cdt.codan.checkers.ui:3.2.1-SNAPSHOT -> [Help 1]

I don't understand this error. In particular, I don't understand why the last edge, the dependency from "org.eclipse.cdt.core.tests" to "org.eclipse.cdt.codan.checkers.ui", is there. There are no references of any sort to codan in the "org.eclipse.cdt.core.tests" plugin.

Could someone help me understand how the cyclic dependency is coming about?



Back to the top