|
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 |
|
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 |
Martin Fluegge 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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02929 seconds