Skip to main content



      Home
Home » Eclipse Projects » P2 » Install new Software vs Update
Install new Software vs Update [message #675972] Thu, 02 June 2011 04:42 Go to next message
Eclipse UserFriend
Hi, after finally having succeeded to install an update site, populate it with features and install them into my rcp (3.6.2) using p2, there are quite some questions left, I found no answers in the net, in tutorial and in the book OSGi and Equinox:

I have a product with three applications each in an own plugin (product, app1, app2, app3). For each of the apps I created a feature, that contains almost only the main window (activeWorkbenchWindow). The product feature references this three app features.

Some other plugins I bundled to independent features. These features I put on the update site.

I start my already installed product an first installed those features using the p2 install new software.

In one of those bundles I made changes, exported the feature using the update site project and replaced the current update site content with the newly generated.

I want to update my product, start it and invoke "check for update". The updates are shown, but I am not able to update as the message says:

Cannot complete the install because of a conflicting dependency.
Software being installed: Persistence Feature 1.0.0.201106021017 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106021017)
Software currently installed: Transfer Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.transfer.feature.feature.group 1.0.0.201106012242)
Only one of the following can be installed at once:
Persistence Implementation 1.0.0.201106012242 (ch.eugster.colibri.persistence.connection 1.0.0.201106012242)
Persistence Implementation 1.0.0.201106021017 (ch.eugster.colibri.persistence.connection 1.0.0.201106021017)
Cannot satisfy dependency:
From: Persistence Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106012242)
To: ch.eugster.colibri.persistence.connection [1.0.0.201106012242]
Cannot satisfy dependency:
From: Persistence Feature 1.0.0.201106021017 (ch.eugster.colibri.persistence.feature.feature.group 1.0.0.201106021017)
To: ch.eugster.colibri.persistence.connection [1.0.0.201106021017]
Cannot satisfy dependency:
From: Transfer Feature 1.0.0.201106012242 (ch.eugster.colibri.persistence.transfer.feature.feature.group 1.0.0.201106012242)
To: ch.eugster.colibri.persistence.feature.feature.group [1.0.0.201106012242]

I seems, that I do not understand yet the correlations between features and the dependencies between them. Can anyone shed light on this matter or give me a hint, where I can find the answers?

Thank you, really thank you!
Re: Install new Software vs Update [message #676032 is a reply to message #675972] Thu, 02 June 2011 11:02 Go to previous message
Eclipse UserFriend
See http://www.eclipse.org/forums/index.php/mv/msg/210468/675760/#msg_675760

Basically, a product depends on exact feature versions, which depend on exact plugin versions. Unless you take special steps as mentioned in the other message, you cannot update a feature contained in a product without updating the product.

For example, the eclipse SDK updates plugins by updating the product from 3.6.0 to 3.6.1 to 3.6.2

PW
Previous Topic:Install files that may not be overwritten by later updates
Next Topic:incomplete mirror of Eclipse RAP P2 repository
Goto Forum:
  


Current Time: Sat Jul 05 08:33:03 EDT 2025

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

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

Back to the top