Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-64

implementations should be declared as an OSGI fragment to slf4j-api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Implementations
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

      Description

      If I add slf4j-api-1.4.3 and slf4j-log4j12-1.4.3 to the Eclipse RCP target platform, I'm not able to export the application due to cycle dependency (API depends on impl package to provide implementation and impl depends on API to define API).

      Fix:
      Just add this line to every MANIFEST.MF of the JAR providing org.slf4j.impl:

      Fragment-Host: slf4j.api

      Then all works nicely.

        Attachments

          Activity

            People

            Assignee:
            slf4j-dev SLF4J developers list
            Reporter:
            infobox.oleg@wo.cz Oleg Smirsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: