Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » How to resolve the host-bundle of an osgi fragment?
How to resolve the host-bundle of an osgi fragment? [message #665613] Fri, 15 April 2011 09:20 Go to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi@all,

First let me say: I am quite new to buckminster, so please apologize if
the answer to my question obvious.

I have an osgi fragment which is contained in a feature. When I am using
Buckminster->Import the fragment is found, but not its host-bundle.
Buckminster does not even complain about something missing. As a result,
when I finish the import the host-bundle does not appear in the target
platform.

I solved this issue by inserting the feature, which contains the
host-bundle, into the buckminster.cspec.

But I actually assumed that buckminster would trigger the installation
of the host-bundle automatically without the declaration in the cspec.
Or is this the correct way to handle fragments?

Thanks in advance.

Cheers,

Martin
Re: How to resolve the host-bundle of an osgi fragment? [message #665856 is a reply to message #665613] Sun, 17 April 2011 08:52 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3232
Registered: July 2009
Senior Member
Hi Martin,

Are you importing the fragment directly or the feature that contains the
fragment? Do you have a feature somewhere that includes the host bundle?

- thomas

On 2011-04-15 11:20, Martin Flügge wrote:
> Hi@all,
>
> First let me say: I am quite new to buckminster, so please apologize if
> the answer to my question obvious.
>
> I have an osgi fragment which is contained in a feature. When I am using
> Buckminster->Import the fragment is found, but not its host-bundle.
> Buckminster does not even complain about something missing. As a result,
> when I finish the import the host-bundle does not appear in the target
> platform.
>
> I solved this issue by inserting the feature, which contains the
> host-bundle, into the buckminster.cspec.
>
> But I actually assumed that buckminster would trigger the installation
> of the host-bundle automatically without the declaration in the cspec.
> Or is this the correct way to handle fragments?
>
> Thanks in advance.
>
> Cheers,
>
> Martin
Re: How to resolve the host-bundle of an osgi fragment? [message #665874 is a reply to message #665856] Sun, 17 April 2011 18:50 Go to previous message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Hi Thomas,

thanks for your response.

I am not absolutely sure what you mean with „directly“.

The fragment is contained in a feature which itself is contained in a
feature which than is included in the cspec.

The host-bundle comes from another project. To be exact,
org.eclipse.emf.ecoretools. We included a provider into out build.rmap,
which points to the Ecore Tools repository. I thought that this would be
enough, but it was not. Only after adding the Ecore Tools feature to the
cspec it worked.

Cheers,

Martin


Am 17.04.2011 10:52, schrieb Thomas Hallgren:
> Hi Martin,
>
> Are you importing the fragment directly or the feature that contains the
> fragment? Do you have a feature somewhere that includes the host bundle?
>
> - thomas
>
> On 2011-04-15 11:20, Martin Flügge wrote:
>> Hi@all,
>>
>> First let me say: I am quite new to buckminster, so please apologize if
>> the answer to my question obvious.
>>
>> I have an osgi fragment which is contained in a feature. When I am using
>> Buckminster->Import the fragment is found, but not its host-bundle.
>> Buckminster does not even complain about something missing. As a result,
>> when I finish the import the host-bundle does not appear in the target
>> platform.
>>
>> I solved this issue by inserting the feature, which contains the
>> host-bundle, into the buckminster.cspec.
>>
>> But I actually assumed that buckminster would trigger the installation
>> of the host-bundle automatically without the declaration in the cspec.
>> Or is this the correct way to handle fragments?
>>
>> Thanks in advance.
>>
>> Cheers,
>>
>> Martin
>
Previous Topic:basedir for feature not found
Next Topic:Possible to generate a maven repository using Buckminster?
Goto Forum:
  


Current Time: Fri Dec 19 16:41:38 GMT 2014

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

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