Eclipse RCP:P2更新功能失败

时间:2010-09-30 16:49:58

标签: eclipse-rcp p2

我有一个产品包括1个功能(application.feature),其中包含一个带应用程序的插件 此功能在附带功能中具有另一个功能(framework.feature)

如果我更新framework.feature和它的一个插件我得到了这个错误(我使用“安装新软件”来获取正确的错误,因为如果我只是尝试更新我去没有找到更新)

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]

这两个功能在更新站点下分为两类 有什么问题?我认为我的功能定义中有些东西,但我不明白

2 个答案:

答案 0 :(得分:2)

这意味着已安装的产品:“it.sogei.rcp.prototipo.application.product1”严格依赖于该功能的版本1.0.3:“it.rcp.framework.feature.feature.jar”。这就是无法将此功能升级到1.0.4版本的原因。

答案 1 :(得分:0)

虽然很久以前就提出过这个问题。但是我今天看了这篇文章并回复了你。我已经回答了这个问题。请查看以下帖子。 Eclipse RCP Update Fail