Skip to main content

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

Hi,

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?

Thanks,
Nate

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=539307
[2] https://ci.eclipse.org/cdt/job/cdt-verify-test-cdt-ui-only/1542/console

Back to the top