Re: Antwort: RE: Felix and JavaFX

2017-07-25 Thread Jerome Pommier
I can't remember where I found the following allowing me to very simply launch OSGI-JAVAFX apps, but I give here a skeleton that I use everywhere. The point is that I'm using NetBeans platform, and Ant, (it seems to be also your case) because I can't be be connected to www. The local Ant build's f

Re: Antwort: RE: Felix and JavaFX

2017-07-21 Thread Neil Bartlett
In fact you ARE doing the things explained in Paul Bakker’s article. Or rather, Karaf does them for you: it sets up the system bundle exports using the contents of jre.properties. By default Felix (and all other OSGi frameworks that I’m aware of) exports only the JavaSE standard packages. JavaF

Re: Antwort: RE: Felix and JavaFX

2017-07-21 Thread Chuck Davis
JP: Thanks for the additional information. I've seen some indication that the Felix team are considering how to handle the JavaFX issues as well. Perhaps it is time to investigate Karaf further -- but it adds a lot of additional capabilities that a client doesn't actually need if I understand cor

RE: Antwort: RE: Felix and JavaFX

2017-07-20 Thread CLEMENT Jean-Philippe
Ok, thanks. At least with Karaf, there is no such "ClassNotFoundException" (JavaFX packages must declared in the jre.properties file). I don't use things explained in Paul's article. I just need the initialize() of the class below to be called within a singleton bundle. That bundle should be