Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Multiple hosts for a single Fragment
Multiple hosts for a single Fragment [message #778617] Fri, 13 January 2012 09:16 Go to next message
Eclipse UserFriend
Hi,

while implementing a dynamic Fragment, I stumbled over the fact that a
fragment may have multiple hosts. It is possible at API level and one
can enter multiple hosts in the Fragment manifest. However, at runtime
it does not seem to work.

Any comment on this one? I'm not even sure this is teh right news group...

Thanks in advance
Jan
Re: Multiple hosts for a single Fragment [message #778699 is a reply to message #778617] Fri, 13 January 2012 11:47 Go to previous messageGo to next message
Eclipse UserFriend
I would try the equinox newsgroup/forum.

PW
Re: Multiple hosts for a single Fragment [message #779644 is a reply to message #778699] Mon, 16 January 2012 03:42 Go to previous messageGo to next message
Eclipse UserFriend
Paul,

thanks a lot, I reposted the question there. In case I got a feedback I
may follow-up here to close the thread.

Jan

> I would try the equinox newsgroup/forum.
>
> PW
>
Re: Multiple hosts for a single Fragment [message #780367 is a reply to message #779644] Tue, 17 January 2012 12:07 Go to previous message
Eclipse UserFriend
FYI: The answer was:

------

The OSGi specification only allows a single element in the Fragment-Host
manifest. A fragment may get attached to multiple versions of the same
host (hosts that have the same bundle-symbolic-name) assuming you leave
the version range open enough and you have multiple versions of the same
host installed.

Here is the syntax of the Fragment-Host header from the OSGi specification:

Fragment-Host ::=bundle-description bundle-description ::=symbolic-name
(';' parameter ) *
Notice that only a single bundle-description is allowed.

HTH

Tom

>
> Paul,
>
> thanks a lot, I reposted the question there. In case I got a feedback I
> may follow-up here to close the thread.
>
> Jan
>
>> I would try the equinox newsgroup/forum.
>>
>> PW
>>
>
Previous Topic:Adding jars to a bundle's classpath
Next Topic:Eclipse Platform for AIX 7.1 OS
Goto Forum:
  


Current Time: Sun Aug 31 19:03:14 EDT 2025

Powered by FUDForum. Page generated in 0.03095 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top