Hi all,

I encounter a strange case that I wanted to share with you, in case I miss
something.
In short lines, I am seeing that packages exported by fragment bundles not
been properly imported.

Here is an example:
I have bundle A.
I have fragment bundle B (with fragment host A), which exports package *
yet.another.package*.
Bundle C imports yet.another.package is installed and started in my karaf
3.x.

i) package:imports on bundle C *properly* displays yet.another.package as
imported package
ii) bundle:headers C displays package *yet.another.package* as *missing*.

Now if I add Bundle D that is a fragment bundle for C that also imports *
yet.another.package*, this bundle will not get attached to bundle C.
Nothing appears to the log (info & debug).

So this looks like, fragments don't properly resolve when they import
bundles from other fragments, or when their host imports packages from
other fragments.

I have tested it only on felix, since equinox currently doesn't work for me
at all.
Anyone else had a similar experience? Do you think this is a felix issue?
Any thoughts at all?

-- 
*Ioannis Canellos*
*
FuseSource <http://fusesource.com>

**
Blog: http://iocanel.blogspot.com
**
Apache Karaf <http://karaf.apache.org/> Committer & PMC
Apache Camel <http://camel.apache.org/> Committer
Apache ServiceMix <http://servicemix.apache.org/>  Committer
Apache Gora <http://incubator.apache.org/gora/> Committer
Apache DirectMemory <http://incubator.apache.org/directmemory/> Committer
*

Reply via email to