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 16:16 Go to next message
Thomas Walzer is currently offline Thomas Walzer
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 03:46 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5296
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: Sat Aug 30 02:35:12 EDT 2014

Powered by FUDForum. Page generated in 0.01688 seconds