2010-09-30 67 views
3

我有一個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] 

的兩個功能在更新站點 下分爲兩類:問題是什麼?我認爲在我的功能定義的東西,但我不明白

回答

2

這意味着安裝的產品:「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

0

雖然這個問題很久以前就問過了,但我今天看了這篇文章並回復了你。我已經回答了這個問題。請檢查以下帖子。 Eclipse RCP Update Fail