Skip to main content

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

Nate,

I see there has been some discussion on the gerrit. If there is still something else to look into, please let me know.

Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On Sun, 23 Sep 2018 at 05:01, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top