我创建了一个启用 p2 的 RCP 应用程序。添加了 ui,也可以添加更新站点。
但是添加新软件(已经安装),会发生这种情况:
Your original request has been modified.
"Help" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Help 1.0.0.201210110844 (smartapps.smartsignature.features.help.feature.group 1.0.0.201210110844)
Software currently installed: SmartSignature 1.0.0.201210110831 (smartapps.smartsignature.application.product 1.0.0.201210110831)
Only one of the following can be installed at once:
Help 1.0.0.201210110844 (smartapps.smartsignature.features.help.feature.jar 1.0.0.201210110844)
Help 1.0.0.201210110831 (smartapps.smartsignature.features.help.feature.jar 1.0.0.201210110831)
Cannot satisfy dependency:
From: SmartSignature 1.0.0.201210110831 (smartapps.smartsignature.application.product 1.0.0.201210110831)
To: smartapps.smartsignature.features.help.feature.group [1.0.0.201210110831]
Cannot satisfy dependency:
From: Help 1.0.0.201210110831 (smartapps.smartsignature.features.help.feature.group 1.0.0.201210110831)
To: smartapps.smartsignature.features.help.feature.jar [1.0.0.201210110831]
Cannot satisfy dependency:
From: Help 1.0.0.201210110844 (smartapps.smartsignature.features.help.feature.group 1.0.0.201210110844)
To: smartapps.smartsignature.features.help.feature.jar [1.0.0.201210110844]
嗯,这就是 p2 的全部意义......我认为有一件事可能会导致错误,但我不知道如何实际修复它。
存储库中的功能是否可能与基础 RCP 应用程序中安装的功能不同?在安装 p2 时检测到它是相同的功能,但仍然认为它是不同的,因为它有不同的来源?这有道理吗?