Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Update with p2 fails in RCP app
Update with p2 fails in RCP app [message #133493] Tue, 23 June 2009 19:46 Go to next message
Eclipse UserFriend
Originally posted by: fakemail.xyz.de

Hello,

would like to know if someone knows what I did wrong..

locally:
an older version of the rcp app

in the updatesite:
all Features I have exported by hand (the ones in the RCP app + some
with additional functionality for the app)



When trying to update. It shows that no updates are available.
Though I am able to install additional features.
Also I am able to slect the newer Version of the feature in the install
dialog. Though when trying to install it I get the following message.

Your original request has been modified.
"Baseclient Feature" is already installed, so an update will be
performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Baseclient Feature 1.1.1
(eu.jucy.feature.baseclient.feature.group 1.1.1)
Software currently installed: jucy 1.0.50 (eu.jucy.product1.product
1.0.50)
Only one of the following can be installed at once:
Baseclient Feature 1.1.1 (eu.jucy.feature.baseclient.feature.jar 1.1.1)
Baseclient Feature 1.0.50 (eu.jucy.feature.baseclient.feature.jar
1.0.50)
Cannot satisfy dependency:
From: Baseclient Feature 1.0.50
(eu.jucy.feature.baseclient.feature.group 1.0.50)
To: eu.jucy.feature.baseclient.feature.jar [1.0.50]
Cannot satisfy dependency:
From: Baseclient Feature 1.1.1
(eu.jucy.feature.baseclient.feature.group 1.1.1)
To: eu.jucy.feature.baseclient.feature.jar [1.1.1]
Cannot satisfy dependency:
From: jucy 1.0.50 (eu.jucy.product1.product 1.0.50)
To: eu.jucy.feature.baseclient.feature.group [1.0.50]



What did I do wrong?

Christian
Re: Update with p2 fails in RCP app [message #133584 is a reply to message #133493] Wed, 24 June 2009 17:51 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The base product that you are running, jucy 1.0.50, will have hard
requirements on the Baseclient Feature 1.0.50.

You will only be able to have one version of the Baseclient Feature
installed at once. So because of the dependency from the jucy product,
you will need to update the jucy product to a version that requires the
new Baseclient instead of updating the baseclient directly.

You will have to export a new version of the RCP app (with metadata),
then you can use the resulting repository to update.

-Andrew

Christian wrote:
> Hello,
>
> would like to know if someone knows what I did wrong..
>
> locally:
> an older version of the rcp app
>
> in the updatesite:
> all Features I have exported by hand (the ones in the RCP app + some
> with additional functionality for the app)
>
>
>
> When trying to update. It shows that no updates are available.
> Though I am able to install additional features.
> Also I am able to slect the newer Version of the feature in the install
> dialog. Though when trying to install it I get the following message.
>
> Your original request has been modified.
> "Baseclient Feature" is already installed, so an update will be
> performed instead.
> Cannot complete the install because of a conflicting dependency.
> Software being installed: Baseclient Feature 1.1.1
> (eu.jucy.feature.baseclient.feature.group 1.1.1)
> Software currently installed: jucy 1.0.50 (eu.jucy.product1.product
> 1.0.50)
> Only one of the following can be installed at once:
> Baseclient Feature 1.1.1 (eu.jucy.feature.baseclient.feature.jar 1.1.1)
> Baseclient Feature 1.0.50 (eu.jucy.feature.baseclient.feature.jar
> 1.0.50)
> Cannot satisfy dependency:
> From: Baseclient Feature 1.0.50
> (eu.jucy.feature.baseclient.feature.group 1.0.50)
> To: eu.jucy.feature.baseclient.feature.jar [1.0.50]
> Cannot satisfy dependency:
> From: Baseclient Feature 1.1.1
> (eu.jucy.feature.baseclient.feature.group 1.1.1)
> To: eu.jucy.feature.baseclient.feature.jar [1.1.1]
> Cannot satisfy dependency:
> From: jucy 1.0.50 (eu.jucy.product1.product 1.0.50)
> To: eu.jucy.feature.baseclient.feature.group [1.0.50]
>
>
>
> What did I do wrong?
>
> Christian
Re: Update with p2 fails in RCP app [message #134178 is a reply to message #133584] Fri, 03 July 2009 15:36 Go to previous messageGo to next message
ian mayo is currently offline ian mayoFriend
Messages: 17
Registered: July 2009
Junior Member
Christian,
did you overcome this problem?

I've been battling with it all week - but you're one of the only other
people who appear to have encountered it.

As you experienced, the Eclipse updater will not install an updated
version of a feature because it says the product depends on an earlier
version.

I'm stumped - hopefully you had better luck.

cheers,
Ian
Re: Update with p2 fails in RCP app [message #134232 is a reply to message #134178] Fri, 03 July 2009 23:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fakemail.xyz.de

ian mayo schrieb:
> Christian,
> did you overcome this problem?
>
> I've been battling with it all week - but you're one of the only other
> people who appear to have encountered it.
>
> As you experienced, the Eclipse updater will not install an updated
> version of a feature because it says the product depends on an earlier
> version.
>
> I'm stumped - hopefully you had better luck.
>
> cheers,
> Ian
>

My current way to go is to create two update sites.

One with the repository from the export of the product.
And a second one that contains all features/plugins that are not part of
the product but are selectable by the user as enhancement of the program...

Though haven't had much time working on this lately..
there still seem to be problems... like stuff is shown when searching
for extensions that I don't want to be shown there (some mysterious
launcher that if selected creates an eclipse.exe in the directory of
the program)... but I am going to solve that soon hopefully...

Christian
Re: Update with p2 fails in RCP app [message #134744 is a reply to message #134232] Wed, 08 July 2009 07:23 Go to previous message
ian mayo is currently offline ian mayoFriend
Messages: 17
Registered: July 2009
Junior Member
Hi Christian, the earlier poster has provided a more detailed overview of
how this should work at:

http://aniefer.blogspot.com/2009/07/composing-and-updating-c ustom-eclipse.html

Hope it helps,
Ian
Previous Topic:ServletContext real path in Jetty.
Next Topic:P2 Update Site - set http headers in request
Goto Forum:
  


Current Time: Mon Sep 23 07:50:41 GMT 2024

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

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

Back to the top