Hello Richard,
I'm trying to make work SLF4J with Felix 1.4.1 and have the same problem than
Jon:
org.osgi.framework.BundleException: Fragments with exports, imports, or native
code are not currently supported.
at
org.apache.felix.framework.util.manifestparser.ManifestParser.validateFragment(ManifestParser.java:270)
(...)
when I try to install and start the slf4j / log4j / commons-logging bundles:
- com.springsource.slf4j.api-1.5.0.jar
- com.springsource.slf4j.log4j-1.5.0.jar
- com.springsource.slf4j.org.apache.commons.logging-1.5.0.jar
- log4j.osgi-1.2.15-SNAPSHOT.jar
Do you have investigate the problem further and fix it?
Thanks very much for your help,
Thierry
> Ok, this definitely appears to be a bug in Felix. We just added checks
> to throw exceptions when starting/stopping fragments. I thought I put
> checks around all cases where we start/stop bundles, but apparently I
> missed some. I committed a fix for this, so hopefully it should not be
> an issue now. Just in time, since we are cutting a 1.4.1 release right
> now. :-)
>
> If you can test it really quickly right now and tell us for sure if it
> is working, then that would be awesome...but I guess we cannot expect
> quick turnaround on Saturday. :-)
>
> Thanks for reporting it.
>
> -> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]