First question, why don't you use the existing bundles: http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_1/
For fragments, the import and export are added to the host, but I don't think this includes dynamic imports. On Mon, Jan 30, 2012 at 17:01, lbu <lburgazz...@gmail.com> wrote: > Hi, > I'm working to a project OSGi-fication and I have a little trouble with a > fragment that does not seem taken into account by Karaf (2.2.5). The > fragment is supposed to add DynamicImport-Package to org.apache.commons.dbcp > to look-up jdbc drivers. > > Here the META-INF/MANIFEST.MF of my fragment: > > Manifest-Version: 1.0 > Created-By: LB > Bundle-Name: lb.fragment.apache.commons.dbcp > Bundle-Vendor: LB > Bundle-Version: 1.0.7 > Bundle-SymbolicName: org.apache.commons.dbcp.fragment > Bundle-Description: Fragment attached to Apache Commons DBCP > Fragment-Host: org.apache.commons.dbcp > DynamicImport-Package: * > > What's wrong ? > > Thx, > Luca > > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Apache-Commons-DBCP-fragment-tp3700373p3700373.html > Sent from the Karaf - User mailing list archive at Nabble.com. -- ------------------------ Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ FuseSource, Integration everywhere http://fusesource.com