Hi everyone,

guys in javafx forum advised me to change the ClassLoader of the
FXMLLoader, it's possible in javafx 2.1 version... It's solved the problem
to load the fxml files.
If someone need a OSGI-javaFx embedded bundle just talk to me.

thank you guys for help.
Best regards.

On Mon, Mar 19, 2012 at 11:41 AM, Neil Bartlett <njbartl...@gmail.com>wrote:

> Hi Filipe,
>
> I also had some concerns about Tom's approach... for one thing it appears
> to rely on Equinox-specific features.
>
> This is not a criticism of Tom's work, he probably *had* to do it this
> way. The core problem is that JavaFX's approach to bootstrapping and
> classloading is essentially obfuscated, and the licence terms of JavaFX
> presently do not permit repackaging or reverse engineering. This situation
> may improve if and when JavaFX becomes open source or is packaged with the
> JRE.
>
> Perhaps it would be useful to ask on a JavaFX forum about how they intend
> for JavaFX applications to run inside a standard OSGi environment?
>
> Regards,
> Neil
>
>  On Monday, 19 March 2012 at 14:27, Filipe Portes wrote:
>
> I'm already saw this post,
>
> I can't understand what he is doing, there's no doc and reading the code I
> just found a lot of eclipse rcp specific code.
>
> On Mon, Mar 19, 2012 at 11:14 AM, Ferry Huberts <maili...@hupie.com>wrote:
>
>  you might want to checkout Tom Schindl's blog:
> http://tomsondev.bestsolution.at/2012/03/11/javafx2-and-osgi-deployment-model/
>
>
> On 19-03-12 15:07, Filipe Portes wrote:
>
> hello,
>
> I'm working to run javafx in the Apache felix osgi runtime,
> using Bundle-NativeCode and lots of Import/Export-Package I make an javafx
> bundle, that work properly to run javaFx interfaces write in plain java...
> but, when I try to load an fxml file I'm getting this issue:
>
> javafx.fxml.LoadException: BorderPane is not a valid type.
>       at javafx.fxml.FXMLLoader.createElement(Unknown Source)
>       at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
>       at javafx.fxml.FXMLLoader.load(Unknown Source)
>
>
>
> the exception give me no more information... I think, It's occuring some
> problem to find BorderPane class by It's name...
>
>  ps.: the same fxml file run fine outside the osgi runtime.
>
> best regards.
>
>  --
> Filipe Portes - @filipeportes
> Java Architec - Senior Java EE/Web/Flex Developer
> JUGLeader Gojava <http://www.gojava.org/> - @gojava
>
>
> _______________________________________________
> OSGi Developer Mail 
> listosgi-...@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
> --
> Ferry Huberts
>
>
>
>
> --
> Filipe Portes - @filipeportes
> Java Architec - Senior Java EE/Web/Flex Developer
> JUGLeader Gojava <http://www.gojava.org/> - @gojava
>  _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
Filipe Portes - @filipeportes
Java Architec - Senior Java EE/Web/Flex Developer
JUGLeader Gojava <http://www.gojava.org/> - @gojava
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to