[slf4j-dev] [Bug 75] Cyclic dependency in OSGi
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Mon Apr 20 14:51:08 CEST 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=75
--- Comment #8 from Marcel Hoetter <Marcel.Hoetter at berner-mattner.com> 2009-04-20 14:51:08 ---
Hi Ceki!
Yes, you're right: If they are put directly into an OSGi framework (e.g.
Equinox) they are resolved all right despite the cyclic dependencies.
I only realized that after i tried to to use them from my Eclipse workspace (i
imported them to take a look at the sources :-). It is there where i got the
problem with the cyclic dependencies. Eclipse's Plug-In Development Environment
flags them as erroneous and is'nt able to re-export them into bundles.
Since they can be put into the target platform, this is'nt a big problem.
Obviously, OSGi allows cyclic dependencies. PDE however has it's problems with
them. Also, i think they are considered as "bad style".
Take a look here for related info:
http://code9.com/2008/10/28/tip-pde-build-and-binary-cycles/
In my previous post i described one possible way to solve this inconvenience.
Another (arguable easier) solution that comes to my mind is to separate the
org.slf4j.impl package from the API bundle.
Does this fit into your concept for SLF4J/LogBack?
Marcel
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list