I have a bundle that contains a set of classes that are used to communicate
information across the boundary of the OSGi container. All these classes
are in one package ('p'). That package is both imported and exported from
the bundle.

The bundle also contains some support classes in the package that never
cross the boundary. They are in package 'q'. 'q' is neither imported nor
exported.

I set up as follows:

- The classes in 'p' are in my overall application classpath.
- 'p' is listed as a system bundle package
- the bundle is provisioned

If I don't list 'q' in the system bundle packages, then Felix complains
that it cannot find classes in 'q'. I imagine that I'm missing something
basic here. Is there a way to avoid including 'q' in the system bundle?

Reply via email to