Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2 in RCP: update one feature separately from RCP shell, how?
p2 in RCP: update one feature separately from RCP shell, how? [message #537836] Thu, 03 June 2010 19:37 Go to next message
maarten meijer is currently offline maarten meijerFriend
Messages: 146
Registered: July 2009
Senior Member
Hi,

I have a tool feature/plugin on eclipse marketplace that can be
installed in an Eclipse Workbench (RCP + Platform). It has editors,
builders, problem markers, quick fixes, etc. This can be updated from
update site.

ref http://marketplace.eclipse.org/content/eulumdat-tools-plugin

Since most of my users come from the lighting field and not from
programming, even the base Eclipse workbench is a bit much.
So I created slimmed down version of workbench, without the debug and
team stuff, just the Resource and my own perspective.

What I want is for my users to install this base shell from a ZIP
archive for their platform, and from then on use p2 to update the tool
feature from the update site.

ref http://marketplace.eclipse.org/content/eulumdat-tools-rcp

I created a product feature hierarchy as follows:

product
app feature
RCP
GEF
slimmed platform
<my tool feature pos A>
<my tool feature pos B>

When I try to add the tool feature to the product file root (pos B) or
as a dependent feature in the app feature (pos A), I cannot update, as
the versions cannot coexist. Neither with update or install new feature.

When I do the setup below, without the tool feature and then manually
install from uopdate site everything works. And updates are identified
correctly. So what I want is a partial update site.

product
app feature
RCP
GEF
slimmed platform

Is there a way to use p2 ant tasks to install the tool feature in the
RCP builds for different platforms? Then my build process will be
- export product for multiple platforms to create exe
- export tool feature into same repository
- call p2 ant tasks to force install into the different exe

Another option would be to be able to add fourth option to the export
feature dialog: export into generated product repository (ie put UI on
top) Should I open a bug for this?

Help will be greatly appreciated!

Maarten Meijer
eclipse trainer & consultant
contributor to Mylyn & ECF
Re: p2 in RCP: update one feature separately from RCP shell, how? [message #537870 is a reply to message #537836] Thu, 03 June 2010 23:24 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See
http://aniefer.blogspot.com/2009/07/composing-and-updating-c ustom-eclipse.html
for tips on updating one feature that's include in a product.

PW

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


Previous Topic:P2 transport initialization error
Next Topic:Galileo Software Repository doesn't work
Goto Forum:
  


Current Time: Sat Apr 27 00:52:57 GMT 2024

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

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

Back to the top