Rap running in RCP [message #33658] |
Sun, 17 June 2007 02:59 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #41236 is a reply to message #41113] |
Tue, 31 July 2007 20:38 |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03974 seconds