Install new Software vs Update [message #675972] |
Thu, 02 June 2011 08:42 |
Christian Eugster Messages: 214 Registered: July 2009 Location: St. Gallen Switzerland |
Senior Member |
|
|
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!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds