Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311336

Summary: Cycle in slf4j, qos.logback in orbit-S20100423142122.zip
Product: [Tools] Orbit Reporter: Ed Willink <ed>
Component: bundlesAssignee: Orbit Bundles <orbit.bundles-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: alexander.igdalov, david_williams, gunnar, samuelwu
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2010-05-03 03:55:34 EDT
Build https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0/191/console

fails and reports

/opt/public/cbi/build/org.eclipse.releng.basebuilder_r35x_v20090811/plugins/org.eclipse.pde.build_3.5.0.v20090527-1800/scripts/genericTargets.xml:106: A cycle was detected when generating the classpath org.eclipse.ocl.examples.xtext.base_3.0.0.v201005030239, org.slf4j.log4j_1.5.11.v20100419-1106, org.slf4j.api_1.5.11.v20100419-1106, ch.qos.logback.classic_0.9.19.v20100419-1216, ch.qos.logback.core_0.9.19.v20100419-1216, org.slf4j.api_1.5.11.v20100419-1106.

when using orbit-S20100423142122.zip.

Using orbit-S20100308015149.zip does not exhibit the problem.
Comment 1 Gunnar Wagenknecht CLA 2010-05-03 09:11:47 EDT
Which dependencies do you have in your bundles (required bundles as well as imported packages)? I'm not sure but I think you have to set a property in order to support binary cycles in PDE Build.

FWIW, the Logback bundles in S20100308015149 were broken and could never work at runtime.
Comment 2 Alexander Igdalov CLA 2010-05-03 09:48:09 EDT
(In reply to comment #1)
> Which dependencies do you have in your bundles (required bundles as well as
> imported packages)? I'm not sure but I think you have to set a property in
> order to support binary cycles in PDE Build.
> 
> FWIW, the Logback bundles in S20100308015149 were broken and could never work
> at runtime.

Hi Gunnar,

Thanks for the advice, I will try allowBinaryCycles option.
Comment 3 Alexander Igdalov CLA 2010-05-03 11:28:19 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > Which dependencies do you have in your bundles (required bundles as well as
> > imported packages)? I'm not sure but I think you have to set a property in
> > order to support binary cycles in PDE Build.
> > 
> > FWIW, the Logback bundles in S20100308015149 were broken and could never work
> > at runtime.
> 
> Hi Gunnar,
> 
> Thanks for the advice, I will try allowBinaryCycles option.

It works - thanks!
Comment 4 Gunnar Wagenknecht CLA 2010-07-05 10:04:06 EDT
*** Bug 318895 has been marked as a duplicate of this bug. ***
Comment 5 Samuel Wu CLA 2010-07-05 10:46:49 EDT
Thanks,
allowBinaryCycles = true fixed the problem.
Comment 6 David Williams CLA 2010-07-05 11:19:34 EDT
So, is this a permanent limitation of these bundles? Not possible to fix in Orbit? If so, perhaps a "note" should be added to the log.xml file, so it shows up table on download page. I know that not everyone would read or see it in that table, but seems like we could better document "how to use" these combinations of bundles?