Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SWT and RWT in one OSGi container?
SWT and RWT in one OSGi container? [message #546620] Tue, 13 July 2010 14:55 Go to next message
Michal Tkacz is currently offline Michal TkaczFriend
Messages: 105
Registered: July 2009
Senior Member
Hi,

I thought about writing a small RCP application that would include jetty
bundles as well as bundles for a RAP application. The RCP wouldn't have
much user inteface as its main role would be to monitor jetty server
(start it, stop it, open the browser). A tray icon would probably suffice.

The problem I see here is that the org.eclipse.swt bundle would have to
be deployed along with org.eclipse.rap.rwt bundle which would probably
lead to errors in runtime.

Is there a solution here? Did anyone try something like that?

Michal
Re: SWT and RWT in one OSGi container? [message #546941 is a reply to message #546620] Wed, 14 July 2010 16:50 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Michał,

Running RAP and RCP in the same OSGi instance definitely doesn't work as
both use the same extension point namespace.
RWT and SWT or RAP and SWT or RCP and RWT should work as long as you
declare dependencies with Require-Bundle directives. Using
Package-Imports probably fails because the packages (at least in RWT)
are currently exported unversioned.

Actually tried However I haven't actually tried it myself. All the more
I would love to hear whether you succeeded in this.

HTH
Rüdiger

On 13.07.2010 16:55, Michał Tkacz wrote:
> Hi,
>
> I thought about writing a small RCP application that would include jetty
> bundles as well as bundles for a RAP application. The RCP wouldn't have
> much user inteface as its main role would be to monitor jetty server
> (start it, stop it, open the browser). A tray icon would probably suffice.
>
> The problem I see here is that the org.eclipse.swt bundle would have to
> be deployed along with org.eclipse.rap.rwt bundle which would probably
> lead to errors in runtime.
>
> Is there a solution here? Did anyone try something like that?
>
> Michal
Previous Topic:Problems with the SessionSingletonBase class
Next Topic:sometimes UI cannot automatically refresh, I need to use the mouse to click on UI each tiime
Goto Forum:
  


Current Time: Wed Dec 01 21:03:34 GMT 2021

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

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

Back to the top