Eclipse RCP:构建具有需要其他功能的功能的产品

发布于 2024-09-28 02:27:36 字数 819 浏览 1 评论 0原文

我需要构建一个包含一个功能的产品,我想要这个包含应用程序的功能,需要另一个可以独立于产品更新的功能,所以我将最后一个功能放在必需的部分而不是包含的部分。

树是这样的:

it.prodotto(产品ID) it.rcp.prototipo.application.feature(产品中包含的主要功能并包含应用程序) it.rcp.framework.feature (主要功能所需的功能)

我的问题是这样的,即使我的目标中有这些功能(以及相对的插件),当我使用 eclipse 向导从 .product 导出我的产品时,我收到此错误:

Cannot complete the install because one or more required items could not be found.
 Software being installed: prototipo application 1.0.7 (it.prodotto 1.0.7)
 Missing requirement: My Application 1.0.4 (it.rcp.prototipo.application.feature.feature.group 1.0.4) requires 'it.rcp.framework.feature.feature.group 1.0.4' but it could not be found
 Cannot satisfy dependency:

我不明白在导出产品之前必须将这些功能放在哪里(以及如何)

我还尝试将此所需的功能放在导出产品的同一文件夹中,但没有成功(我尝试了启动文件夹和存储库)

我使用 Eclipse Helios 3.6.1

I need to build a product that contains one feature, I want this feature, containing application, requires another feature that can be updated independently from product, so I put this last one in required section and not in included section.

the tree is this:

it.prodotto (product id)
it.rcp.prototipo.application.feature (main feature included in product and containing application)
it.rcp.framework.feature (feature required by main feature)

My problem is this, even if I have these features (and relatively plugins) in my target, when I export my product using eclipse wizard from .product I got this error:

Cannot complete the install because one or more required items could not be found.
 Software being installed: prototipo application 1.0.7 (it.prodotto 1.0.7)
 Missing requirement: My Application 1.0.4 (it.rcp.prototipo.application.feature.feature.group 1.0.4) requires 'it.rcp.framework.feature.feature.group 1.0.4' but it could not be found
 Cannot satisfy dependency:

I don't understand where (and how) I have to put this features before export the product

I also tried to put this required feature in the same folder where I export the product without success (I tried both launchingfolder and repository)

I'm using Eclipse Helios 3.6.1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单身狗的梦 2024-10-05 02:27:36

功能 it.rcp.framework.feature 也必须添加到产品配置中。

The feature it.rcp.framework.feature must be added to the product configuration as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文