代码之家  ›  专栏  ›  技术社区  ›  Achille

Eclipse RCP:P2更新功能失败

  •  3
  • Achille  · 技术社区  · 15 年前

    我有一个prodcut,包括一个功能(application.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 回复  |  直到 15 年前
        1
  •  2
  •   Michael Spector    15 年前

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

        2
  •  0
  •   Community Mohan Dere    8 年前

    虽然这个问题很久以前就被问到了。但我今天读了这篇帖子并回复了你。我已经回答了这个问题。请查看下面的帖子。 Eclipse RCP Update Fail

    推荐文章