Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
Jan Mauersberger is currently offline Jan Mauersberger
Messages: 119
Registered: July 2009
Senior Member
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
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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
Jan Mauersberger is currently offline Jan Mauersberger
Messages: 119
Registered: July 2009
Senior Member
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
Jan Mauersberger is currently offline Jan Mauersberger
Messages: 119
Registered: July 2009
Senior Member
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: Wed Aug 20 16:41:47 EDT 2014

Powered by FUDForum. Page generated in 0.02250 seconds