|
|
|
Re: Tycho build of feature including RAP [message #907115 is a reply to message #905434] |
Mon, 03 September 2012 10:17 |
|
Some of the RAP bundles provide alternative implementations that cannot be installed in parallel to their SWT counterparts.
In order to prevent users from accidentially installing these bundles into their IDE, we (and several other RT projects) had to use the virtual A.PDE.Target.Platform requirement on the features. This virtual requirement cannot be resolved and therefor it wasn't possible to install this feature into an IDE.
I think it should be possible to solve your problem by replacing the requires-import-feature with a requires-import-bundle in your feature.xml. Instead of writing
<requires>
<import feature="org.eclipse.rap.runtime" version="1.5.0" match="compatible"/>
...
you should be able to define your requirements for all (or a subset) of the RAP bundles with
<requires>
<import plugin="org.eclipse.rap.rwt"/>
<import plugin="org.eclipse.rap.rwt.osgi"/>
... + all other required RAP bundles
</requires>
Let me know if this helps...
(As a side note: This problem will be solved with the next RAP 2.0 release. We've removed this virtual dependency and replaced it with negative p2 requirments on bundle level in the p2 metadata. Since a few months it is possible to define such a negative requirement with p2.inf files during build time and this solution should solve your problems *in the long run*.)
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.03416 seconds