David --

  I am much interested in your statement...

  > We have also mastered the issues around Apple notarization needed to 
distribute an .app or .dmg.

  Can elaborate on this?  Or better yet provide some code or script to make 
this happen?   I do NOT want to mess with XCode!!

  -- Chris

----- Original Message -----
From: "David Gradwell" <da...@gradwell.com>
To: "HRH" <hrh...@yahoo.com.INVALID>, "users" <users@netbeans.apache.org>
Sent: Friday, September 4, 2020 5:24:18 AM
Subject: Re: Maven deployment plugin for JavaFX

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

Reply via email to