How to specify required bundle version in RCP prod

2019-09-08 08:24发布

问题:

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

回答1:

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.