Run/Debug Maven JavaFX 2 in Netbeans

I setup a Maven project for a JavaFX 2 application, which uses javafxpackager threw exec-maven-plugin to build a runnable jar. This build process works fine and the application can be started from the commandline.

Does anyone know how to modify nbactions to run and debug this jar from within the IDE?

The command to execute the jar on the commandline is:

java -Djavafx.runtime.path=$JAVAFX_HOME/rt -jar ./target/MyApp.jar


The modification it's, for every "action" tag, change the tag as follows:

 <exec.args>-classpath %classpath  -Xbootclasspath/a:"C:/Program Files/Oracle/JavaFX 2.2 SDK/rt/lib/jfxrt.jar"  ${packageClassName}</exec.args>

Of course, change "C:/Program..." to fit your setup.

Need Your Help

C#: Deal with xml, treeview datagridview and datatables

c# xml datagridview treeview

I am working on a project that pulls data out of an xml files and also uses a tree-grid combination in order to display the data. For example depending on the selected treeview node, the datagridview

Programmatically Creating ListPreference - But Entry List is Empty

android listpreference

I'm trying to programmatically create a ListPreference, which I can do but when I select it, it's list of entries is empty. I believe I am correctly setting the setEntries() and setEntryValues() with