[logback-dev] svn commit: r2155 - in logback/trunk: logback-classic logback-core logback-site/src/site/pages
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Thu Feb 12 23:55:12 CET 2009
Author: ceki
Date: Thu Feb 12 23:55:12 2009
New Revision: 2155
Modified:
logback/trunk/logback-classic/pom.xml
logback/trunk/logback-core/pom.xml
logback/trunk/logback-site/src/site/pages/news.html
Log:
Based on remarks made by Dominik Hirt, I have modified manifest generation so that,
in logback-core's manifest the import declaration for package "org.codehaus.janino" has resolution optional,
and in logback-classic's manifest file, the import declarations for packages "sun.reflect" and "javax.jms"
have resolution=optional. Moreover, in logback-classic, org.slf4j.impl is exported as version=1.5.6.
Thus, the logback bundles should be resolvable without any modifications and without requiring any
springsource bundles for jms and janino.
Related to LBCLASSIC-101
Modified: logback/trunk/logback-classic/pom.xml
==============================================================================
--- logback/trunk/logback-classic/pom.xml (original)
+++ logback/trunk/logback-classic/pom.xml Thu Feb 12 23:55:12 2009
@@ -199,7 +199,12 @@
<configuration>
<instructions>
<Export-Package>ch.qos.logback.classic.*</Export-Package>
- <Export-Package>org.slf4j.impl</Export-Package>
+ <Export-Package>org.slf4j.impl;version=1.5.6</Export-Package>
+ <Import-Package>sun.reflect;resolution:=optional,
+ javax.jms;resolution:=optional,
+ *
+ </Import-Package>
+
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
</instructions>
</configuration>
Modified: logback/trunk/logback-core/pom.xml
==============================================================================
--- logback/trunk/logback-core/pom.xml (original)
+++ logback/trunk/logback-core/pom.xml Thu Feb 12 23:55:12 2009
@@ -130,6 +130,7 @@
<configuration>
<instructions>
<Export-Package>ch.qos.logback.core.*</Export-Package>
+ <Import-Package>org.codehaus.janino;resolution:=optional,*</Import-Package>
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
</instructions>
</configuration>
Modified: logback/trunk/logback-site/src/site/pages/news.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/news.html (original)
+++ logback/trunk/logback-site/src/site/pages/news.html Thu Feb 12 23:55:12 2009
@@ -61,7 +61,10 @@
href="http://jira.qos.ch/browse/LBCLASSIC-101">LBCLASSIC-101</a>. Logback
jar files now include full OSGi bundle information in their
manifests. This information is automatically added by Apache
- Felix' Maven bundle plug-in.
+ Felix' Maven bundle plug-in. The generated manifest files contain
+ an appropriate Bundle-RequiredExecutionEnvironment directive,
+ fixing <a
+ href="http://jira.qos.ch/browse/LBGENERAL-8">LBGENERAL-8</a>.
</p>
<p>The setter and getter methods for the layout property in
More information about the logback-dev
mailing list