Hi, Two bundles export exactly same package in OSGi container is the well known split package issue, definitely should be avoided. Technically, you can kind of hack bundle A & B or wrap them to revise export package(such as add different version), though it may not be applicable for the case that due to license concern. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-1-18, at 上午3:45, nvtd4000 wrote: > lets say in SMX4.4.1, i have 2 bundles A, B. Bundle A exports this package > org.apache.x.y. > Bunlde B also exports the same package org.apache.x.y . They both export the > same package name without version description. They are 3rd party bundles > and i can not modify their meta-inf > > Now, i have my bundle C imports package org.apache.x.y (this is my bundle, > i am able to modify meta-inf). > > When serviceMix starts, which bundle does C will import? > > If i want to specifically import that package from bundle A, how can i do > that? > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/import-packages-with-the-same-name-but-diffident-bundles-tp5715518.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
