Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » PDE Export of Kura driver: A cycle was detected when generating the classpath
PDE Export of Kura driver: A cycle was detected when generating the classpath [message #1807662] Wed, 05 June 2019 19:16 Go to next message
Java Student is currently offline Java StudentFriend
Messages: 2
Registered: June 2019
Junior Member
Hi,

I´m trying to export org.eclipse.kura.driver.opcua.provider and I´m doing it the following way:
Export -> Plug-in Development -> Deployable plug-ins and fragments.

I´m getting the following error:
A cycle was detected when generating the classpath org.eclipse.kura.driver.opcua.provider_1.0.500.201906051912, org.eclipse.kura.core.configuration_2.0.300.201906051912, org.eclipse.kura.core_1.0.600.201906051912, org.eclipse.kura.core.configuration_2.0.300.201906051912.

I tried already the following:
* Windows -> Preferences -> Java-> Compiler -> Building -> Circular Dependencies --> changed from "error" to "warning"
* During the export the following checkbox is ticked "Allow for binary cycles in target platform"

I still didn´t find a way to fix it, can anyone please help? Thanks a lot in advance!
Re: PDE Export of Kura driver: A cycle was detected when generating the classpath [message #1807702 is a reply to message #1807662] Thu, 06 June 2019 12:38 Go to previous message
Eclipse UserFriend
Hi,

I had the same problem with a driver that I was building. I didn't get to fix that, but I found some kind of "workaround":

I created a pom.xml file and I used maven to build the jar that I needed for the deployment package.

In this case you already have a pom.xml in the project, I believe.

To generate de jar I had to execute in a console or terminal:

mvn clean install -Dcheckstyle.skip


The -Dcheckstyle.skip due to some errors I got from maven checstyle.

Hope that helps.



Previous Topic:Orange pi zero installation
Next Topic:Send data from raspberry and read them from PC
Goto Forum:
  


Current Time: Fri Nov 08 11:33:10 GMT 2024

Powered by FUDForum. Page generated in 0.03956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top