Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Rap running in RCP
Rap running in RCP [message #33658] Sun, 17 June 2007 02:59 Go to next message
Eclipse UserFriend
Originally posted by: ztw.powersail.com.cn

Can RAP running in RCP application,rap run as a rcp's service?
And rcp plugins has web entrypoints and desktop UI.
Re: Rap running in RCP [message #33693 is a reply to message #33658] Sun, 17 June 2007 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Tim,

(without actually having tried it)

in theory yes, but since the namespace switch in M4 not any more.
Eclipse - and so would your RCP app - refuses to start properly because
it gets confused with the extension points of the same name. BTW,
because of this we provide M5 as a target platform.
There might be a chance that this behavior is considered a bug and gets
fixed in the future.

Cheers,
Rüdiger


tim joe wrote:
> Can RAP running in RCP application,rap run as a rcp's service?
> And rcp plugins has web entrypoints and desktop UI.
>
>
Re: Rap running in RCP [message #33726 is a reply to message #33693] Sun, 17 June 2007 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

There was a mistake in the previous post, see below. Sorry for the that.

Rüdiger Herrmann wrote:
> Hi Tim,
>
> (without actually having tried it)
>
> in theory yes, but since the namespace switch in M4 not any more.
> Eclipse - and so would your RCP app - refuses to start properly because
> it gets confused with the extension points of the same name. BTW,
> because of this we provide M5 as a target platform.

[...] provide *M4* as a target [...]
(but M5 probably as well, unless there comes up a better way)

> There might be a chance that this behavior is considered a bug and gets
> fixed in the future.
>
> Cheers,
> Rüdiger
>
>
> tim joe wrote:
>> Can RAP running in RCP application,rap run as a rcp's service?
>> And rcp plugins has web entrypoints and desktop UI.
>>
Re: Rap running in RCP [message #41113 is a reply to message #33693] Mon, 30 July 2007 21:06 Go to previous messageGo to next message
Frank Gerhardt is currently offline Frank GerhardtFriend
Messages: 81
Registered: July 2009
Member
I thought about this too. How would the following idea work: I repackage
the RAP distribution in a bundle "raprepackaged". The RCP UI would
depend on org.eclipse.ui and the usual SWT etc. bundles. The RAP UI
would depend on the raprepackaged bundle. It would get the RAP classes
using the SWT namespace. My assumption is that all plug-ins use the
"old-fashioned" Require-Bundle mechanism, not the Import-Package mechanism.

Would this work?

Or, under the assumption that SWT is at version 3.3 and RAP at 1.0,
would it work to define these version numbers in the plug-in
dependencies to distinguish them?

Frank.
Re: Rap running in RCP [message #41236 is a reply to message #41113] Tue, 31 July 2007 20:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Frank,

did you give it a try? From what I know, this won't work. The reason why
we are providing target platform downloads instead of update-sites plays
in the same field.
The extension registry gets confused when two (differently named)
plug-ins provide an extension point of the same name.

Cheers,
Rüdiger


Frank Gerhardt wrote:
> I thought about this too. How would the following idea work: I repackage
> the RAP distribution in a bundle "raprepackaged". The RCP UI would
> depend on org.eclipse.ui and the usual SWT etc. bundles. The RAP UI
> would depend on the raprepackaged bundle. It would get the RAP classes
> using the SWT namespace. My assumption is that all plug-ins use the
> "old-fashioned" Require-Bundle mechanism, not the Import-Package mechanism.
>
> Would this work?
>
> Or, under the assumption that SWT is at version 3.3 and RAP at 1.0,
> would it work to define these version numbers in the plug-in
> dependencies to distinguish them?
>
> Frank.
Re: Rap running in RCP [message #41266 is a reply to message #41236] Tue, 31 July 2007 21:16 Go to previous message
Frank Gerhardt is currently offline Frank GerhardtFriend
Messages: 81
Registered: July 2009
Member
Rüdiger Herrmann schrieb:
> Hi Frank,
>
> did you give it a try? From what I know, this won't work. The reason why
> we are providing target platform downloads instead of update-sites plays
> in the same field.
> The extension registry gets confused when two (differently named)
> plug-ins provide an extension point of the same name.

No, I didn't try it. You are right, the extension registry will get
confused. Too bad. Hmm.

Frank.
Previous Topic:RWT extension
Next Topic:Debug RAP demo app
Goto Forum:
  


Current Time: Thu Apr 25 00:35:08 GMT 2024

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

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

Back to the top