Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Product configuration (features included)
Product configuration (features included) [message #661624] Fri, 25 March 2011 15:29 Go to next message
Jonathan Dumont is currently offline Jonathan Dumont
Messages: 58
Registered: March 2011
Location: Laval
Member
Hi,

I'm new in the RCP world and may my question is trivial ...

I want to build an RCP application, with some standard views, help management, etc. I want to use a feature base product definition as I will use Maven with Tycho. My question is :
How must I organize my dependancies with features and plugins to be sur to don't add a lot of unused stuff ?

For example, in my product definition, I first added these features :
- myfeature
- org.eclipse.rcp

And this works with my Run Configuration, but not with the Tycho built (Missing required bundle xxx messages).

When I added in my product definition the features :
- org.eclipse.plateform
- org.equinox.p2.user.ui

my Tycho built work, but I have some new menus (Search, etc) that I don't want ! Confused

Thus, How must I organize my dependancies to have the minimum of stuff included in my final product ?

I thought to create a new feature which will contains only the eclipse standard plugins that I want. Is it a good way to do ? Have you any other ideas ?



Re: Product configuration (features included) [message #661782 is a reply to message #661624] Sun, 27 March 2011 19:54 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 276
Registered: July 2009
Senior Member

Hi Jod,

Welcome to the world of Release Engineering. If you want to build using
features you have the option to re-use other features from eclipse. This
makes the update and the releng easier but it could come at the cost of extra
unwanted user interface elements.

You can also try to figure out which other plugins you need and instead of
using the eclipse feature that holds this bundle you can make your own
"additional" feature and put that bundle in there.

Whatever you choose, you will need to spent time figuring out your perfect
configuration. There is tooling that will help you but the engineering has to
be done by you.

Tools: pde, marketplace feature explorer, buckminster, pde plugin
visualiziation, tycho

Regards,

Wim Jongman


> Hi,
>
> I'm new in the RCP world and may my question is trivial ...
>
> I want to build an RCP application, with some standard views, help
management, etc. I want to use a feature base product definition as I will
use Maven with Tycho. My question is :
> How must I organize my dependancies with features and plugins to be sur to
don't add a lot of unused stuff ?
>
> For example, in my product definition, I first added these features :
> - myfeature
> - org.eclipse.rcp
> And this works with my Run Configuration, but not with the Tycho built
(Missing required bundle xxx messages).
>
> When I added in my product definition the features :
> - org.eclipse.plateform
> - org.equinox.p2.user.ui
> my Tycho built work, but I have some new menus (Search, etc) that I don't
want ! :?
>
> Thus, How must I organize my dependancies to have the minimum of stuff
included in my final product ?
>
> I thought to create a new feature which will contains only the eclipse
standard plugins that I want. Is it a good way to do ? Have you any other
ideas ?
Re: Product configuration (features included) [message #661817 is a reply to message #661782] Mon, 28 March 2011 06:37 Go to previous messageGo to next message
Jonathan Dumont is currently offline Jonathan Dumont
Messages: 58
Registered: March 2011
Location: Laval
Member
Thanks Wim,

Your answer confirm what I tought. I will check out these tools and spend some more time to study our needs, before beginning to code !


Re: Product configuration (features included) [message #661901 is a reply to message #661624] Mon, 28 March 2011 13:21 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I'll just add to what Wim said and mention that if org.eclipse.rcp is
too big for your RCP app, it is acceptable to create a your.domain.rcp
feature and include only the RCP plugins you need. Then your feature
includes your RCP feature. You just have to remember to manage your RCP
feature.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Product configuration (features included) [message #661911 is a reply to message #661901] Mon, 28 March 2011 13:59 Go to previous message
Jonathan Dumont is currently offline Jonathan Dumont
Messages: 58
Registered: March 2011
Location: Laval
Member
Thanks for this advise.
I will may follow it as I have constraints on size.


Previous Topic:Open View in separate Window/Shell
Next Topic:Missing Constraint: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.5.0,4.0.0)
Goto Forum:
  


Current Time: Tue Sep 16 05:14:26 GMT 2014

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

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