Achille
Achille

Reputation: 219

Eclipse RCP: P2 Update feature fails

I have a prodcut that include 1 feature (application.feature) that contains one plugin with application this feature has, in included feature, another one (framework.feature)

if I update framework.feature and one of its plugin I got this error (I use "install new software" to get the correct error, because if I just try to update I go no updates were found)

Your original request has been modified.
  "My Framework RCP" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: My Framework RCP 1.0.4 (it.rcp.framework.feature.feature.group 1.0.4)
  Software currently installed: prototipo application 1.0.3 (it.rcp.prototipo.application.product1 1.0.3)
  Only one of the following can be installed at once: 
    My Framework RCP 1.0.3 (it.rcp.framework.feature.feature.jar 1.0.3)
    My Framework RCP 1.0.4 (it.rcp.framework.feature.feature.jar 1.0.4)
  Cannot satisfy dependency:
    From: My Framework RCP 1.0.3 (it.rcp.framework.feature.feature.group 1.0.3)
    To: it.rcp.framework.feature.feature.jar [1.0.3]
  Cannot satisfy dependency:
    From: My Framework RCP 1.0.4 (it.rcp.framework.feature.feature.group 1.0.4)
    To: it.rcp.framework.feature.feature.jar [1.0.4]
  Cannot satisfy dependency:
    From: My Application 1.0.3 (it.rcp.prototipo.application.feature.feature.group 1.0.3)
    To: it.rcp.framework.feature.feature.group [1.0.3]
  Cannot satisfy dependency:
    From: prototipo application 1.0.3 (it.rcp.prototipo.application.product1 1.0.3)
    To: it.rcp.prototipo.application.feature.feature.group [1.0.3]

The two features are separeted in two categories under update site What's the problem? I think something in my features definition but I don't understand

Upvotes: 3

Views: 1547

Answers (2)

M Faisal Hameed
M Faisal Hameed

Reputation: 713

Although this question is asked long time ago.But I read this post today and replying you. I have already answered this problem. Please check the following post. Eclipse RCP Update Fail

Upvotes: 0

Michael Spector
Michael Spector

Reputation: 37009

It means that installed product: "it.sogei.rcp.prototipo.application.product1" depends strictly on version 1.0.3 of the feature: "it.rcp.framework.feature.feature.jar". This is why this feature can't be upgraded to version 1.0.4.

Upvotes: 2

Related Questions