PDE Export of Kura driver: A cycle was detected when generating the classpath [message #1807662] |
Wed, 05 June 2019 15:16  |
Eclipse User |
|
|
|
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 08:38  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.08398 seconds