You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Rob Walker <ro...@ascert.com> on 2012/03/15 14:03:41 UTC
Anyone know if Fragment-Host: system.bundle is supported?
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
Fragment-Host: System Bundle
Fragment-Host: org.apache.felix.framework
The last one I've seen the last mentioned as a standard approach but no luck
Cheers
-- Rob
Ascert - Taking systems to the Edge
robw@ascert.com
+27 87 550 1701
www.ascert.com
Re: Anyone know if Fragment-Host: system.bundle is supported?
Posted by Felix Meschberger <fm...@adobe.com>.
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
Re: Anyone know if Fragment-Host: system.bundle is supported?
Posted by Rob Walker <ro...@ascert.com>.
Cheers richard & felix
Will give these a try
-- Rob
On 15/03/2012 3:33 PM, Richard S. Hall wrote:
> Also, make sure you are using 4.0.2:
>
> https://issues.apache.org/jira/browse/FELIX-3205
>
> -> richard
>
> On 3/15/12 09:26 , Richard S. Hall wrote:
>> I believe both system.bundle and org.apache.felix.framework should
>> work, but I think you have to specify which type system bundle
>> extension it is with the "extension" directive...and currently we
>> only support "framework", not "bootclasspath".
>>
>> -> richard
>>
>> On 3/15/12 09:03 , Rob Walker wrote:
>>> 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
>>>
>>> Fragment-Host: System Bundle
>>>
>>> Fragment-Host: org.apache.felix.framework
>>>
>>>
>>> The last one I've seen the last mentioned as a standard approach but
>>> no luck
>>>
>>> Cheers
>>>
>>> -- Rob
>>>
>>>
>>> Ascert - Taking systems to the Edge
>>> robw@ascert.com
>>> +27 87 550 1701
>>> www.ascert.com
>>>
>>>
--
Ascert - Taking systems to the Edge
robw@ascert.com
+27 87 550 1701
www.ascert.com
Re: Anyone know if Fragment-Host: system.bundle is supported?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Also, make sure you are using 4.0.2:
https://issues.apache.org/jira/browse/FELIX-3205
-> richard
On 3/15/12 09:26 , Richard S. Hall wrote:
> I believe both system.bundle and org.apache.felix.framework should
> work, but I think you have to specify which type system bundle
> extension it is with the "extension" directive...and currently we only
> support "framework", not "bootclasspath".
>
> -> richard
>
> On 3/15/12 09:03 , Rob Walker wrote:
>> 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
>>
>> Fragment-Host: System Bundle
>>
>> Fragment-Host: org.apache.felix.framework
>>
>>
>> The last one I've seen the last mentioned as a standard approach but
>> no luck
>>
>> Cheers
>>
>> -- Rob
>>
>>
>> Ascert - Taking systems to the Edge
>> robw@ascert.com
>> +27 87 550 1701
>> www.ascert.com
>>
>>
Re: Anyone know if Fragment-Host: system.bundle is supported?
Posted by "Richard S. Hall" <he...@ungoverned.org>.
I believe both system.bundle and org.apache.felix.framework should work,
but I think you have to specify which type system bundle extension it is
with the "extension" directive...and currently we only support
"framework", not "bootclasspath".
-> richard
On 3/15/12 09:03 , Rob Walker wrote:
> 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
>
> Fragment-Host: System Bundle
>
> Fragment-Host: org.apache.felix.framework
>
>
> The last one I've seen the last mentioned as a standard approach but
> no luck
>
> Cheers
>
> -- Rob
>
>
> Ascert - Taking systems to the Edge
> robw@ascert.com
> +27 87 550 1701
> www.ascert.com
>
>