Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » deploy RCP (plus some fragments)
deploy RCP (plus some fragments) [message #965611] Wed, 31 October 2012 11:22 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 193
Registered: October 2010
Senior Member
Hi.

I developed some fragments for some eclipse plugins (essentially with language resources, that doesnt exist in BABEL).

When I run Eclipse application (for my rcp plugin) with fragment projects opened I see the changes in the new Application, and it's everything ok.

My question is, how do I add fragments to rcp plugin dependencies, in such way, they are loaded, when I run my product.

I see I can't add fragments to plugin dependencies (makes sense), but How can I tell eclipse in rcp export to also export my fragments.

Is it necessary to put them in plugins folder manually?

thanks in advance

Re: deploy RCP (plus some fragments) [message #997023 is a reply to message #965611] Thu, 03 January 2013 12:38 Go to previous message
maarten meijer is currently offline maarten meijer
Messages: 145
Registered: July 2009
Senior Member
Have you tried creating a feature with just your fragments and adding
that to your export?
When the language fragments are there containing the proper named
properties files and locations Eclipse will find them.

product
+- rcp feature with base rcp plugins
+- your base feature with your base plugins
+- your language feature with language fragments

There is no need for a dependency from plugin to language fragment,
you only need to ensure that the fragments are in your exported application.


Maarten




Op 31-10-12 12:22, Rui Domingues schreef:
> Hi.
> I developed some fragments for some eclipse plugins (essentially with
> language resources, that doesnt exist in BABEL).
>
> When I run Eclipse application (for my rcp plugin) with fragment
> projects opened I see the changes in the new Application, and it's
> everything ok.
>
> My question is, how do I add fragments to rcp plugin dependencies, in
> such way, they are loaded, when I run my product.
>
> I see I can't add fragments to plugin dependencies (makes sense), but
> How can I tell eclipse in rcp export to also export my fragments.
>
> Is it necessary to put them in plugins folder manually?
>
> thanks in advance
>
>
Previous Topic:Error code -1073741819
Next Topic:MultiPageEditor and getSelection() for Actions
Goto Forum:
  


Current Time: Fri Oct 24 15:43:08 GMT 2014

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

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