Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Workflow for OSGI-Bundle?(How do I make a JavaFX OSGi Bundle)
Workflow for OSGI-Bundle? [message #1222919] Sat, 21 December 2013 21:16 Go to next message
Thomas Walzer is currently offline Thomas WalzerFriend
Messages: 1
Registered: December 2013
Junior Member
Hello together,

I become desperate at the moment with the plugin, probably I missunderstood something.
I want to code an osgi-bundle which contains the GUI with JavaFX, the other osgi-bundles should use the GUI-Bundle.The whole project should become a OSGI-Gateway for telematics. In my idea the GUI-Bundle contains:


  • an main service that draw a GUI with 3 area's,
  • one or more public services to fill the area's with content.


I used the "OSGi Bundle Project", I hope it's the right one.
I always get problems with Bundle when I use javafx components. e.g. stage.
How do I start to get the Bundle Project to work? Or is there an workaround for it?
I understood the e(fx)clipse as a plugin which helps me with this problem, did I understood it wrong or is it an stupid failure of me?
Would be cool to become help.

Greetings
Thomas
Re: Workflow for OSGI-Bundle? [message #1223390 is a reply to message #1222919] Mon, 23 December 2013 08:46 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Yes it is and if your project should be launchable you'd better of start
with an "OSGi Application Project" because this will generate all the
necessary infrastructure to:
* launch your project inside the IDE (attaching the correct adaptor
hooks for Equinox)
* a build infrastructure

When you say that you get problems when using JavaFX code you refer to
runtime problems where classes are not found, ... . This is caused by
missing the Adapter Hooks I mentionned above - take a look at the
generated .launch from the wizard above to spot the difference.

Tom

On 22.12.13 22:26, Thomas Walzer wrote:
> Hello together,
>
> I become desperate at the moment with the plugin, probably I
> missunderstood something.
> I want to code an osgi-bundle which contains the GUI with JavaFX, the
> other osgi-bundles should use the GUI-Bundle.The whole project should
> become a OSGI-Gateway for telematics. In my idea the GUI-Bundle contains:
>
>
> an main service that draw a GUI with 3 area's, one or more public
> services to fill the area's with content.
>
>
> I used the "OSGi Bundle Project", I hope it's the right one.
> I always get problems with Bundle when I use javafx components. e.g. stage.
> How do I start to get the Bundle Project to work? Or is there an
> workaround for it?
> I understood the e(fx)clipse as a plugin which helps me with this
> problem, did I understood it wrong or is it an stupid failure of me?
> Would be cool to become help.
> Greetings Thomas
Previous Topic:org.eclipse.fx.ui.dialogs.Dialog issues
Next Topic:Ready for production?
Goto Forum:
  


Current Time: Tue Apr 23 14:04:10 GMT 2024

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

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

Back to the top