[
http://jira.qos.ch/browse/LBCLASSIC-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hugues Malphettes updated LBCLASSIC-165:
----------------------------------------
Attachment: LBCLASSIC-165.patch
Hi there,
I face the exact same situation. Here is a patch to the pom.xml.
I imported the resulting plugin in eclipse-PDE and made sure that it had the
exports I required.
As a workaround I am currently using logback as re-packaged by spring source
here:
http://www.springsource.com/repository/app/bundle?query=L
The actual project where I am doing this is here to configure the central
logging of jetty-on-osgi (prototype)
http://github.com/intalio/hightide-on-osgi/blob/master/org.eclipse.jetty.osgi.boot.logback/src/main/java/org/eclipse/jetty/osgi/boot/logback/internal/LogbackInitializer.java
Let me know if you need a smaller use-case.
I hope this helps.
> Wrong MANIFEST.MF Private-Package and Export-Package sections
> -------------------------------------------------------------
>
> Key: LBCLASSIC-165
> URL: http://jira.qos.ch/browse/LBCLASSIC-165
> Project: logback-classic
> Issue Type: Bug
> Components: joran
> Affects Versions: 0.917
> Reporter: Bulat Nigmatullin
> Assignee: Logback dev list
> Attachments: LBCLASSIC-165.patch
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev