With 12.0beta2,

   NewProject > Java with Maven > [FXML|Simple] JavaFX Maven Archetype
   (Gluon)

use hacked archetypes that include

 * pom.xml with debug executions
 * nbactions.xml

So the run/debug buttons work out of the box.

There is a limitation on running NetBeans on jdk1.8 and working with openjfx; the biggest problem revolves around dealing with module-info.java. There is a pull requests in progress to remove this limitation but there are problems and it seems increasingly unlikely to make it for 12.0. Note that this is not a new limitation.

At some point in the future, the openjfx archetypes can be used; two thing need to happen for that.

1. openjfx has to expose executions for debug. There's a pull request
   in progress that may be accepted soon that accomplishes this
2. The API for adding nbactions.xml is needed. Along with some other
   internals. It looks like some of the work for getting jdk1.8 to work
   with fx will be useful for this.

Once these two things are done, the hacked archetype can be abandoned in favor of the official archetypes and the use should be none the wiser.

-ernie


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to