Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Error from Eclipse Product based on Features(Defining dependency plugins for RCP product based on features.)
Error from Eclipse Product based on Features [message #833342] Sat, 31 March 2012 06:16 Go to next message
sajja Phani is currently offline sajja Phani
Messages: 26
Registered: August 2011
Junior Member
Hi,
I have a product which is based on features. I have added the feature to the dependency in my product. I have included the main plugin in the feature. But that plugin further requires some more plugins.

When I run through Run Configiration -> Add Required plugins -> Run it is working find.

If I run that from the product configuration or try to export it then it is giving errors Missing-Constraint:Require-Bundle: ------

It is not including the required bundles.

What is the way to include the dependencies with the product based on features.

--
Thanks
Sajja
Re: Error from Eclipse Product based on Features [message #845839 is a reply to message #833342] Sun, 15 April 2012 09:19 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Sajja,

There is no way to do that. You are either based on plugins or features. If
you are based on plugins you can "add missing" dependencies but not if you
are based on features.

The trick is to find the "Required bundle" and then a) find the feature it is
located in and add that to the product or b) add the plugin to one of your
own features.

For a), I have written a "Feature Explorer" plugin. It can be found on
marketplace. You type in the name of the plugin and the feature explorer will
show in which feature it is located.

Hope this helps,

Wim


> Hi,
> I have a product which is based on features. I have added the feature to
the dependency in my product. I have included the main plugin in the feature.
But that plugin further requires some more plugins.
>
> When I run through Run Configiration -> Add Required plugins -> Run it is
working find.
>
> If I run that from the product configuration or try to export it then it is
giving errors Missing-Constraint:Require-Bundle: ------
>
> It is not including the required bundles.
>
> What is the way to include the dependencies with the product based on
features.
>
> --
> Thanks
> Sajja
Previous Topic:Tooltip for menus on toolbar are not globalized
Next Topic:How to implement handler for command in main menu and context menu
Goto Forum:
  


Current Time: Sat Aug 30 06:38:40 EDT 2014

Powered by FUDForum. Page generated in 0.01552 seconds