Thursday, February 19, 2009

Cyclic dependencies in OSGi with PDE build

So I am stuck with some OSGi bundle fun which I try to build using the eclipse PDE environment.
As a lot of the bundles in my target platform are third party plugins (like spring dm bundles etc) I ran into errors like this a lot":

genericTargets.xml:88: A cycle was detected when generating the classpath com.mycompany.bundle, org.springframework.bundle.spring.tx_2.5.5,com.mycompany.bundle



One very useful property introduced in eclipse 3.4 PDE is the allowBinaryCycles which should be set to true as this prevents this error.

I found this here .. thanks to Chris Aniszczyk...

No comments:

Post a Comment