Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can´t export feature based product to multiple platforms
Can´t export feature based product to multiple platforms [message #765211] Tue, 13 December 2011 16:25 Go to next message
sebastian.sprenger is currently offline sebastian.sprengerFriend
Messages: 16
Registered: November 2009
Junior Member
Hi,
i am trying to export my rcp app to win32/x86_64. I have a feature project which includes my RCP-Plugin. I have the delta pack in my target platform. I created a feature based product and included my feature product. In the feature I added all platform dependant org.eclipse.swt.* plugin-fragments. However, When I tried to export to win32/x86_64 I got the error message.


Cannot complete the install because one or more required items could not be found.
Software being installed: Relengato Product 1.0.0.201112122110 (org.ssprenger.relengato.product 1.0.0.201112122110)
Missing requirement: Core 1.0.0.201112122110 (org.ssprenger.relengato.core.feature.group 1.0.0.201112122110) requires 'org.eclipse.swt.win32.win32.x86_64 [3.7.1.v3738a]' but it could not be found
Cannot satisfy dependency:

I already exported a rcp-application to different platforms, but there i used plugin based products and added the needed org.eclipse.swt.* dependencies to the products dependencies. This is no longer possible in a feature based product isnt it?
thank you for any help,

Sebastian
Re: Can´t export feature based product to multiple platforms [message #765687 is a reply to message #765211] Wed, 14 December 2011 14:29 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

So your Core feature is the one that includes all of the "RCP" plugins, like o.e.swt? Did you put platform filters on the fragments in your feature?

PW


Re: Can´t export feature based product to multiple platforms [message #765762 is a reply to message #765687] Wed, 14 December 2011 16:21 Go to previous messageGo to next message
sebastian.sprenger is currently offline sebastian.sprengerFriend
Messages: 16
Registered: November 2009
Junior Member
Hi Paul, thank you for your answer.
Exactly. My core feature contains all the plugins, fragments and other features. And no I didn`t put platform filters on the fragments. Do I have to? If yes do you have a link to documentation which explains how? Never heard about it.

Sebastian

Re: Can´t export feature based product to multiple platforms [message #765805 is a reply to message #765762] Wed, 14 December 2011 17:53 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Yes, it does, otherwise you're saying that the fragment can be installed on all architectures. See Features and the feature manifest for documentation. See org.eclipse.rcp/features.xml for an example.

PW


Re: Can´t export feature based product to multiple platforms [message #766143 is a reply to message #765805] Thu, 15 December 2011 09:22 Go to previous message
sebastian.sprenger is currently offline sebastian.sprengerFriend
Messages: 16
Registered: November 2009
Junior Member
With the platform filters it works. Thank you so much.
Previous Topic:Retrieving of selection
Next Topic:How to deal with two plugins contributing each other
Goto Forum:
  


Current Time: Sun Dec 21 00:31:50 GMT 2014

Powered by FUDForum. Page generated in 0.02462 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software