David,
Thanks for outlining your thoughts,it seems like a novel solution. The coveted 
solution would be (dreaming or ideallyspeaking) a feature integrated into the 
Project->Properties (or perhapselsewhere in the IDE), which can create a 
self_contained_installable package ofthe user’s project for a specific platform 
(or all). This certainly would obviatethe deployment overhead that developers 
have to grapple with at each softwarerelease. Currently, I cogitate about 
implementing my own simple JavaFX solutionto output a “.exe” installable on 
Windows 10.

 

Thanks

 

 
   On Friday, September 4, 2020, 2:54:30 PM GMT+4:30, David Gradwell 
<[email protected]> wrote:  
 
 #yiv1672829086 #yiv1672829086 -- _filtered {} _filtered {} _filtered 
{}#yiv1672829086 #yiv1672829086 p.yiv1672829086MsoNormal, #yiv1672829086 
li.yiv1672829086MsoNormal, #yiv1672829086 div.yiv1672829086MsoNormal 
{margin:0cm;font-size:11.0pt;font-family:sans-serif;}#yiv1672829086 
span.yiv1672829086EmailStyle18 
{font-family:sans-serif;color:windowtext;}#yiv1672829086 
.yiv1672829086MsoChpDefault {font-size:10.0pt;} _filtered {}#yiv1672829086 
div.yiv1672829086WordSection1 {}#yiv1672829086 
I have exactly the same question for any standard Java application.  In 
previous versions of NetBeans an Ant project used to provide this capability 
but Ant package as seems to be broken in NetBeans 12.  For example, using:
 
Product Version: Apache NetBeans IDE 12.0 
 
Java: 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7 
 
Runtime: OpenJDK Runtime Environment 14.0.1+7 
 
We get  /AntProject/nbproject/build-native.xml:519: typedef class 
com.sun.javafx.tools.ant.FXJar cannot be found
 
using the classloader AntClassLoader[].
 
  
 
In order to use Maven which as you say appears not to support we now use 
jpackage successfully.  We have also mastered the issues around Apple 
notarization needed to distribute an .app or .dmg.
 
  
 
So now we are working on a Java app that will do all the steps in one click for 
any application !
 
  
 
I agree it would be nice to find a NetBeans plugin for Maven to do all the 
packaging.  If one needs writing then I am happy to contribute the logic and 
worked examples.
 
  
 
David Gradwell
 
  
 
From: HRH <[email protected]>
Date: Thursday, 3 September 2020 at 19:04
To: NetBeans Mailing List <[email protected]>
Subject: Maven deployment plugin for JavaFX
 
  
 
Hi,
 
  
 
Does anyone know, if Maven has a plugin deployment for JavaFX application that 
will render a self-contained installable package for a given (or all) 
platform(s) (i.e. Windows - 64 bit, Linux or Mac OS)? I rather use a plugin and 
have the IDE do most of the work than using the Java Jpackage tool and do all 
the work myself.
 
  
 
Thanks
   

Reply via email to