如何在RCP产品中指定所需的软件包版本(How to specify required bundle version in RCP product)

220 IT屋

I created new xerces bundle from jar. I can see two org.apache.xerces bundles now - one from orbit 2.9.0 and "my" 2.11.0. If I try to export product then only the version from orbit is exported

I tried to specify version in dependency for org.apache.xerces using properties, but it does not help, the entry is also marked as erroneous (how to see the reason?).

I am using Eclipse for RCP and RAP Developers Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800

解决方案

I missed qualifier! I need to put e.g. 2.11.0.201411051547 instead of simply 2.11.0. That is not really what I want- modifying product configuration after each plugin build, but it helps to force export of missed bundle.

我从jar创建了新的xerces捆绑包。我现在可以看到两个org.apache.xerces包 - 一个来自轨道2.9.0和我的2.11.0。如果我尝试导出产品,那么只导出来自轨道的版本导出



我尝试使用属性指定依赖于org.apache.xerces的版本,但不能帮助,该条目也被标记为错误(如何查看原因?)。



我正在使用
Eclipse for RCP和RAP开发人员
版本:Luna Service Release 1(4.4.1)
Build id:20140925-1800


解决方案

我错过了限定词!我需要把2.11.0.201411051547而不是简单的2.11.0。这不是我想要的 - 在每个插件构建之后修改产品配置,但它有助于强制导出错过的包。


本文地址:IT屋 » 如何在RCP产品中指定所需的软件包版本