Hi,

Am 15.03.2012 um 14:03 schrieb Rob Walker:

> I've got a bit of a battle on my hands with Batik, which both includes 
> it's own org.w3c.dom classes, and also needs ones from xmlapis that 
> aren't in the normal JDK set.
> 
> I've managed to make the Batik ones work by making them a fragment of 
> the xmlapis class.
> 
> But to get the xmlapis ones to work, I think I need to make that a 
> fragment of the framework system bundle.
> 
> I've tried all of the following, but none seem to work for me:
> 
>    Fragment-Host: system.bundle

This is what we do in Sling. See for example [1].

Your missing pieces seems to be the extension:=framework directive as in:

    Fragment-Host: system.bundle;extension:=framework

> 
>    Fragment-Host: System Bundle
> 
>    Fragment-Host: org.apache.felix.framework

Regards
Felix

[1] 
http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/framework-extension-xml

Reply via email to