[slf4j-dev] [Bug 171] OSGi: Add an Import-Package to log4j-overslf4j's MANIFEST.MF

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Sat Mar 6 16:40:50 CET 2010


http://bugzilla.slf4j.org/show_bug.cgi?id=171


Hugues Malphettes <hmalphettes at intalio.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hmalphettes at intalio.com




--- Comment #1 from Hugues Malphettes <hmalphettes at intalio.com>  2010-03-06 16:40:49 ---
(In reply to comment #0)
> Hi,
> while working on http://bugzilla.slf4j.org/show_bug.cgi?id=170
> I noticed that org.apache.log4j.Log4jLoggerFactory requires
> org.slf4j.helpers.Util
> It should be added to log4j-over-slf4j's MANIFEST as an Import-Package:
> 
> The difference is at the very end of:
> http://github.com/hmalphettes/slf4j/commit/2d30df3bd74e920d505308b322579d6fbbb4e1ab
> 
> log4j-over-slf4j/src/main/resources/META-INF/MANIFEST.MF
> @@ -3,4 +3,4 @@ Bundle-SymbolicName: log4j.over.slf4j
> Bundle-Name: log4j-over-slf4j
> Export-Package: org.apache.log4j
> -Import-Package: org.slf4j, org.slf4j.spi
> +Import-Package: org.slf4j, org.slf4j.helpers, org.slf4j.sp
> 
> Thanks!
> Hugues
> 
I missed one charater in the diff:
log4j-over-slf4j/src/main/resources/META-INF/MANIFEST.MF
@@ -3,4 +3,4 @@ Bundle-SymbolicName: log4j.over.slf4j
Bundle-Name: log4j-over-slf4j
Export-Package: org.apache.log4j
-Import-Package: org.slf4j, org.slf4j.spi
+Import-Package: org.slf4j, org.slf4j.helpers, org.slf4j.spi

Sorry for the double email.
Hugues


-- 
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