Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-405

Wrong MANIFEST.MF Private-Package and Export-Package sections

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.17
    • Fix Version/s: 0.9.18
    • Component/s: logback-classic
    • Labels:
      None

      Description

      I'm trying to setup logback configuration loading in accordance with http://logback.qos.ch/xref/chapter3/MyApp3.html .
      When running in OSGi Framework i have the following error:
      Error while starting bundle: file:/home/bulat/Desktop/xmppserver/lib/log-0.2.jar: org.osgi.framework.BundleException: Unresolved constraint in bundle ru.rambler.xmpp.server.util.log [13]: package; (package=ch.qos.logback.classic)

      Package ch.qos.logback.classic and ch.qos.logback.classic.joran and may be many others should be in Export-Package section of MANIFEST.MF

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              bulat Bulat Nigmatullin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: