Eclipse RCP的:P2更新功能失败

问题描述:

我有一个prodcut包括1个功能(application.feature),其中包含一个插件与应用 这个功能了,在包括功能,另一个(framework.feature)Eclipse RCP的:P2更新功能失败

如果我更新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] 

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

这意味着安装的产品:“it.sogei.rcp.prototipo.application.product1”严格取决于功能的版本1.0.3:“它。 rcp.framework.feature.feature.jar”。这就是为什么此功能无法升级到版本1.0.4。

+0

确定吗?因为在application.feature依赖关系中,我将framework.feature与0.0.0作为版本(而不是严格地说是1.0.3),这应该意味着最后一个可用版本。 – Achille 2010-10-01 08:54:51

+0

产品所依赖的功能版本在构建期间形成,目前产品不支持版本范围(https://bugs.eclipse.org/bugs/show_bug.cgi?id=292542)。我想如果你为application.product产生一个更新,它应该可以工作。 – spektom 2010-10-01 10:10:47

+0

嗨spektom,我认为是这样,我已经阅读了版本控制产品,但是我需要的概念是:framework.feature是由不同于application.feature的组创建的,即使这取决于它,所以产品可能不会更改 – Achille 2010-10-01 12:32:13

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