SWT (in fact all Eclipse plugins) are just OSGi R4 bundles.  They should 
run on any OSGi implementation IF:
- it supports the needed parts of the spec (e.g., fragments and 
Require-Bundle)
- it either does not use the additional services that are supplied by the 
Equinox framework OR suitable replacements are available in the 
environment

ObCaveat: That statement is somewhat idealized and I'm sure there are 
gotchas in some cases.  For Eclipse 3.2 we are working to reduce/eliminate 
these problems as much as possible.

In the specific case of SWT, the structure uses fragments but is otherwise 
OSGi-ignorant.  Stepping up to JFace is similar.  In fact, both SWT and 
JFace run without OSGi at all.  Other key Eclipse things (e.g., the 
extension registry) are standalone and do or will run independent of 
Equinox.  When you start getting into the app model etc then things start 
to get less clear.

Jeff

p.s., FWIW, Equinox is in no way tied to any GUI technology so it will run 
Swing apps just fine :-)





"John E. Conlon" <[EMAIL PROTECTED]> 
01/10/2006 11:52 PM
Please respond to
felix-dev


To
[email protected]
cc

Subject
Re: Gui Support






Tempting as I just switched my IDE to Eclipse BUT the gui is already
done in Swing. 

If it was an SWT gui would/could one run it in felix?  Conversely are
there many people running Swing GUIs in equinox?

BTW - looking forward to the 3.2 Eclipse release especially for the new 
equinox features.

John


On Tue, 2006-01-10 at 19:41, Jeff McAffer wrote:
> Why not just run it on Equinox?
> 
> Having said that, this would be an interesting exercise to try.  There 
are 
> a number of things that are outside the scope of the OSGi spec (e.g., 
the 
> application model and various services that are supplied by the Equinox 
> framework) that likely differ between Felix and Equinox. 
> 
> Jeff
> 
> 
> 
> 
> 
> 
> "Yalcin Akdogan" <[EMAIL PROTECTED]> 
> 01/10/2006 03:57 PM
> Please respond to
> felix-dev
> 
> 
> To
> <[email protected]>
> cc
> 
> Subject
> Re: Gui Support
> 
> 
> 
> 
> 
> 
> Does anybody think about to use eRCP/eSWT with Felix?
> 
> Yalcin
> 
> ----- Original Message ----- 
> From: "Richard S. Hall" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, January 10, 2006 6:18 PM
> Subject: Re: Gui Support
> 
> 
> > John E. Conlon wrote:
> >> Will be deploying a GUI application within felix and would like to
> >> administer felix and it's bundles with a gui that I call from within 
> the
> >> application. 
> >>
> >> What is the current think for how this should be done in felix?  Will 

> it
> >> be similar (identical?) to the oscar's shellgui, tablelayout and 
plugin
> >> approach? Can I just use those oscar bundles? 
> > 
> > You should be able to follow the exact same approach that you used 
with 
> > Oscar. You can use Oscar bundles directly, however, it is likely that 
> > their manifest ill have to be modified slightly to work with Felix. In 

> > particular, Felix is more strict when it comes to exposing classes on 
> > the class path, so the manifest of some Oscar bundles will need to be 
> > modified to import the packages they use off the class path (e.g., 
> > javax.swing).
> > 
> > I will try to move the bundles that you mention over to Felix soon, 
but 
> > in the meantime, just edit the manifest...if you have any difficulty, 
> > let me know.
> > 
> > -> richard
> >
> 


Reply via email to