如何解决Eclipse可插拔功能
我已经开发了一个RCP应用程序,并由Tycho进行构建,并且具有下面的结构,
[![在此处输入图片描述] [1]] [1]
突出显示的功能是我已实现的自定义功能。 作为我的自定义功能[即功能 1.0.2.202008071744 ]位于 RCP产品下,并且当我尝试使用功能2.0.2安装/更新功能时,我遇到错误了
"Feature" is already installed,so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Feature 2.0.2.202008071746 (com.example.p2.feature.feature.group 2.0.2.202008071746)
Software currently installed: RCP Product 1.0.0.202008071744 (RCP Product 1.0.0.202008071744)
Only one of the following can be installed at once:
Core 1.0.1.202008071744 (com.example.p2.core 1.0.1.202008071744)
Core 1.0.1.202008071746 (com.example.p2.core 1.0.1.202008071746)
Cannot satisfy dependency:
From: RCP Product 1.0.0.202008071744 (RCP Product 1.0.0.202008071744)
To: com.example.p2.feature.feature.group [1.0.2.202008071744]
Cannot satisfy dependency:
From: Feature 1.0.2.202008071744 (com.example.p2.feature.feature.group 1.0.2.202008071744)
To: com.example.p2.core [1.0.1.202008071744]
Cannot satisfy dependency:
From: Feature 2.0.2.202008071746 (com.example.p2.feature.feature.group 2.0.2.202008071746)
To: com.example.p2.core [1.0.1.202008071746] ```
Also when I tried to install new feature[Name - Command Version 1.0.2] it installed successfully. Once it get installed I checked it on **installation details window** its entry was not coming under **RCP -Product** and when I tried to update it,Update was successful. Please refer below image
[![enter image description here][2]][2]
Can someone help me on below points,1) how to perform update on existing feature/plugin wheter its is externally installed or in-built[i.e bundled with RCP product].
2) Is there any way by which I can include plugins which are present on some update site/locally while building it through tycho. and later as and when update is available we can perform update on it.
[1]: https://i.stack.imgur.com/MHjPg.png
[2]: https://i.stack.imgur.com/8MXhh.png
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。