8
我試圖通過P2更新站點更新基於Eclipse-RCP-3.5的應用程序。該應用程序包含兩個功能。基於RCP的應用程序的P2更新失敗
產品由Eclipse Buckminster
構建。創建P2更新站點是產品構建的一部分。
時候開始通過菜單更新:Update -> Check for Updates
一個消息框顯示:There is nothing to update.
當我嘗試菜單:Update -> Install New Software...
並選擇相同的更新站點報告錯誤:
Your original request has been modified. "Verinice Anwendung" is already installed, so an update will be performed instead. "verinice server Feature" is already installed, so an update will be performed instead. Cannot complete the install because of a conflicting dependency. Software being installed: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142) Software currently installed: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1) Only one of the following can be installed at once: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007130142) Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.jar 1.1.1.201007021358) Cannot satisfy dependency: From: Verinice Anwendung 1.1.1.201007021358 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007021358) To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007021358] Cannot satisfy dependency: From: Verinice Anwendung 1.1.1.201007130142 (sernet.gs.ui.rcp.main.feature.feature.group 1.1.1.201007130142) To: sernet.gs.ui.rcp.main.feature.feature.jar [1.1.1.201007130142] Cannot satisfy dependency: From: verinice 1.1.1 (sernet.gs.ui.rcp.main.product 1.1.1) To: sernet.gs.ui.rcp.main.feature.feature.group [1.1.1.201007021358]
我不知道我是否可以將新版本的產品本身添加到我的p2更新站點。 – 2010-07-14 07:12:53
您應該能夠在p2中將產品作爲元數據中的另一個可安裝單元。只需增加產品文件中的版本並再次運行構建。 – 2010-07-14 17:15:53
謝謝,在增加myapp.product p2中的產品版本後,更新可以正常工作 - 已被接受! – 2010-07-15 10:00:54