It certainly is possible to use fragments this way, it fact it's almost the 
sole purpose of fragments. So there must be something else going on. Please 
show what kind of error messages you're seeing.

Rgds Neil

Sent from my iPhone

On 14 Mar 2012, at 08:35, Christopher BROWN <[email protected]> wrote:

> Hello,
> 
> The software I'm creating uses Felix to separate one API bundle (a set
> of "official" interfaces) from various implementation bundles.
> Generally, to discourage customers (who aren't OSGi experts) from
> creating dependencies on JARs upon which we require, as we want to be
> able to keep them as hidden implementation details that we're free to
> change over time.  There's only a few JARs we've " promoted" or shared
> as proper bundles.
> 
> Our testing strategy involves binding fragment bundles with tests, and
> I hit a problem, given the approach outlined above. In short, although
> the fragment bundle is in the same package, it doesn't seem possible
> to share access to the Bundle-Classpath without exporting from the
> host and importing it from the Fragment. It's therefore available to
> world+dog as an unwanted side effect, and yet I thought Fragments were
> supposed to share classloader access with the host..?
> 
> Is there another way to do this without having to export "private
> dependency JARs"?
> 
> Thanks,
> Christopher
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to