I try to link a fragment bundle to its host but it does not succeed with
Apache Felix 2.0.1 which is used on Apache Felix Karaf

Here are the bundles installed for Hibernate :

osgi:install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6.1_2
osgi:install -s mvn:org.antlr/com.springsource.antlr/2.7.7
osgi:install -s mvn:org.jgroups/com.springsource.org.jgroups/2.5.1
osgi:install -s
mvn:org.objectweb.asm/com.springsource.org.objectweb.asm/1.5.3
osgi:install -s
mvn:net.sourceforge.cglib/com.springsource.net.sf.cglib/2.2.0
osgi:install -s mvn:org.jboss.javassist/com.springsource.javassist/3.9.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA
osgi:install -s
mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.GA
osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/
3.4.0.GA

and the two bundles involved

[  86] [Installed  ] [            ] [       ] [   60] JBoss Hibernate Entity
Manager (3.4.0.GA) // Fragment bundle
[  89] [Active     ] [            ] [       ] [   60] JBoss Hibernate
Object-Relational Mapper (3.3.2.GA) // its host

using the command

osgi:refresh 89

does not affect the host bundle. The list of packages of the fragment
bundles are not at all exported.

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm

Reply via email to