Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Making an RCP of existing projects.
Making an RCP of existing projects. [message #494666] Mon, 02 November 2009 05:04 Go to next message
Karan  is currently offline Karan Friend
Messages: 23
Registered: October 2009
Junior Member
Hi.
I have two projects, say project A and project B. Now, project A depends on project B.
These two projects are currently as plugins. So now how do I make a RCP of them so that they come as an independent deployment package?

Actually, there is an installer that installs this alongwith eclipse, since they are all plugins. So, i need to make sure the installer installs the tool and required functionalities only (using RCP) and not the associating eclipse IDE.
How do I do this?

Thankyou.

[Updated on: Mon, 02 November 2009 05:52]

Report message to a moderator

Re: Making an RCP of existing projects. [message #494687 is a reply to message #494666] Mon, 02 November 2009 08:21 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Karan wrote:
> I have two projects, say project A and project B. Now, project A depends
> on project B. These two projects are currently as plugins. So now how do
> I make a RCP of them so that they come as an independent deployment
> package?

The information you provide is rather incomplete. How should the
A-plugin be useful without any B available, if it depends on B?
It seems you dont't have to solve a deployment problem, but a more
fundamental problem to reduce dependencies. E.g. to deploy A and B
independently, A should not depend on B in the first place. Without any
background information available, I suggest the following:
Invent interfaces, that decouple A from B. E.g. create a must-have
plugin C, that publishes the interfaces. Both A and B depend on C
but no longer A on B - problem solved.

In fact working with extension points reflects just the same strategy:
A publisher plugin (e.g. C) provides a customization point via an
extension point and any number of plugins (e.g. A or B) can contribute
to that. The publisher plugin is the one, both A and B depend on,
but not vice versa.

HTH & Greetings from Bremen,

Daniel Krügler
Re: Making an RCP of existing projects. [message #494702 is a reply to message #494687] Mon, 02 November 2009 09:30 Go to previous messageGo to next message
Karan  is currently offline Karan Friend
Messages: 23
Registered: October 2009
Junior Member
Hi. Thanks for the reply.
Actually i do not want the two projects A and B to be independent. I want both these projects as one single RCP application.

So how do I do this so that the installer given to the end user will do the needful?

[Updated on: Mon, 02 November 2009 09:31]

Report message to a moderator

Re: Making an RCP of existing projects. [message #494726 is a reply to message #494702] Mon, 02 November 2009 11:44 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Karan wrote:
> Hi. Thanks for the reply. Actually i do not want the two projects A and
> B to be independent. I want both these projects as one single RCP
> application.

I'm not sure what you want to realize then. Have you considered a
feature-based deployment? You might consider to read:

http://www.vogella.de/articles/RichClientPlatform/article.ht ml

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:Declarative menu entry for help system
Next Topic:Dynamic Menus, Handlers and passing variables application context
Goto Forum:
  


Current Time: Tue Apr 16 13:15:15 GMT 2024

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

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

Back to the top