Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP update site problem
RCP update site problem [message #482368] Wed, 26 August 2009 11:32 Go to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Hi,

I am working on an update site for my RCP app and I ran into a problem
where I need your help:

My app consists of 3 features: core, basic_tool, advanced_tool

core: holds the application
basic_tool: an extension which is optional
advanced_tool: another optional extension. this feature includes feature
basic_tool

now a user installs basic_tool - which works

Some time later all features get updated on the update site.

Now when the user tries to install advanced_tool, he would require to
update basic_tool too (as installer reports a conflicting dependency
between the old version of basic_tool and the new one to be installed)

If the user updates basic_tool beforehand, everything works as expected.

Is there a way that the update is done automatically when advanced_tool is
selected? I don't want the user to take care of this (as it gets far more
complex in reality).

thanks
Christian
Re: RCP update site problem [message #482976 is a reply to message #482368] Fri, 28 August 2009 19:04 Go to previous message
Mario Winterer is currently offline Mario WintererFriend
Messages: 136
Registered: July 2009
Senior Member
Christian,

I'm not sure, but I think you should change feature "advanced_tool" to
require "basic_tool" instead of including it.
(See "dependencies" page of the feature manifest editor).

Mario

"Christian Pontesegger" <christian.pontesegger@web.de> schrieb im
Newsbeitrag news:4de41284655a6a2d774f8c0e995c4839$1@www.eclipse.org...
> Hi,
>
> I am working on an update site for my RCP app and I ran into a problem
> where I need your help:
>
> My app consists of 3 features: core, basic_tool, advanced_tool
>
> core: holds the application
> basic_tool: an extension which is optional
> advanced_tool: another optional extension. this feature includes feature
> basic_tool
>
> now a user installs basic_tool - which works
>
> Some time later all features get updated on the update site.
>
> Now when the user tries to install advanced_tool, he would require to
> update basic_tool too (as installer reports a conflicting dependency
> between the old version of basic_tool and the new one to be installed)
>
> If the user updates basic_tool beforehand, everything works as expected.
>
> Is there a way that the update is done automatically when advanced_tool is
> selected? I don't want the user to take care of this (as it gets far more
> complex in reality).
>
> thanks
> Christian
>
Previous Topic:Selection provider that is not a workbench part
Next Topic:Application startup problem in 3.2 with login dialog before workbench start on first launch only
Goto Forum:
  


Current Time: Tue Jan 14 04:29:06 GMT 2025

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

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

Back to the top