我尝试通过 P2 更新站点更新基于 Eclipse-RCP-3.5 的应用程序。该应用程序包含两个功能。
产品是由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 区分“已安装”的内容和“已安装的内容所需的内容”。您的产品sernet.gs.ui.rcp.main.product
是安装的东西。其他一切都是如此。 “检查更新”正在寻找新版本sernet.gs.ui.rcp.main.product
.
通过安装该功能,您可以将其添加到已安装的事物列表中(而不仅仅是已安装的事物所需的)。但是,您仍然拥有原始产品,该产品对该功能的特定版本有要求。该要求与新版本的功能冲突。
这出现了一个 在 Eclipse 论坛上。您可能对此感兴趣博客文章 http://aniefer.blogspot.com/2009/07/composing-and-updating-custom-eclipse.html我写了回应。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)