You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Ernie Rael <er...@raelity.com> on 2020/02/06 10:58:14 UTC

Re: bringing an old javafx RCP project into the modern era

Thanks Boris,

Your work here inspired me to play with javafx as a module.

FYI. All the Bundle.properties say "Linux", I'm assuming that's a typo.

    $ for i in javafx-*/src/javafx/Bundle.properties ;do echo === $i;
    cat $i;done
    === javafx-linux/src/javafx/Bundle.properties
    OpenIDE-Module-Name=JavaFX Linux
    === javafx-mac/src/javafx/Bundle.properties
    OpenIDE-Module-Name=JavaFX Linux
    === javafx-win/src/javafx/Bundle.properties
    OpenIDE-Module-Name=JavaFX Linux

-ernie


On 1/30/2020 9:05 AM, Boris Heithecker wrote:
> I've assembled a small project demonstrating how JavaFX can be added 
> to a NetBeans RCP application built on jdk11:
>
> https://github.com/borisheithecker/netbeans-javafx
>
> Hope it helps
> Boris
>
> On Wed, 29 Jan 2020 at 19:34, Scott Palmer <swpalmer@gmail.com 
> <ma...@gmail.com>> wrote:
>
>
>>     On Jan 29, 2020, at 12:21 PM, Neil C Smith <neilcsmith@apache.org
>>     <ma...@apache.org>> wrote:
>>
>>
>>
>>     On Wed, 29 Jan 2020, 17:06 Scott Palmer, <swpalmer@gmail.com
>>     <ma...@gmail.com>> wrote:
>>
>>
>>         Isn’t the “right” way to create a JRE using jimage which
>>         includes the JavaFX modules via JavaFX JMOD files and bundle
>>         that with your application?
>>
>>
>>     Right, maybe. But AFAIK not easily achievable right now. I
>>     ideally need to run an RCP app with a whole load of stuff on the
>>     module path in the near future, but haven't looked much at it
>>     yet. Did talk to Jan briefly at NB UK about it and get the
>>     feeling it might be "difficult". :-)
>>
>>     Best wishes,
>>
>>     Neil
>
>     I’ve never done a Netbeans RCP app so I can’t say what is involved
>     in that context, but for a plain JavaFX desktop app it isn’t so
>     bad.  I made a couple tasks in my Gradle script to generate a JRE
>     with jimage and then an install package with jpackage (from JDK
>     14-ea).  So far so good.
>
>     (I had more pain dealing with JAXB post JDK 11 as I had gone
>     forward expecting JPMS modules to still be available for it from
>     somewhere after it was removed from the JDK. )
>
>     Regards,
>
>     Scott
>
>
>
> -- 
> Boris Heithecker
>
>
> Dr. Boris Heithecker
> Lüneburger Str. 30
> 28870 Ottersberg
> Festnetz: +49 4205 315834
> Mobil: +49 170 6137015



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists