Workflow for OSGI-Bundle? [message #1222919] |
Sat, 21 December 2013 16:16  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02427 seconds