Status:
* openjfx team member betanzos has created a fix,
https://github.com/openjfx/javafx-maven-plugin/pull/76, waiting to
get PR approved. And would still need a subsequent release.
* I'm investigating a NetBeans fix that works with the current, 0.0.4,
javafx-maven-plugin
If you want to try the profiler on a javafx project, it's simple to
setup. See below. Note that the eventual solution (nbactions/pom) may
look somewhat different.
My biggest question is whether or not something can be accepted for
NB-12. I'm not sure about the timeframes involved and what it takes to
get an approval.
Is there an issue filed for javafx profiling? I'd like to reference it.
(any comments about how important this is... ;-) )
-ernie
How to try the profiler (not much of a 12.0 test)
1. Install a snapshot version of javafx-maven-plugin (hg example, git
slightly different
* hg clone git://github.com/betanzos/javafx-maven-plugin.git
javafx-maven-plugin-betanzos
* cd javafx-maven-plugin-betanzos/
* mvn install
2. Add this to your project's nbactions.xml
<action>
<actionName>profile</actionName>
<goals>
<goal>clean</goal>
<goal>javafx:run@ide-profile</goal>
</goals>
<properties>
<vm.args>${profiler.args}</vm.args>
</properties>
</action>
3. Add this to your project's pom.xml
<execution>
<!-- Configuration for automatic IDE
profiling -->
<id>ide-profile</id>
<configuration>
<options>
<option>${vm.args}</option>
</options>
<mainClass>YOUR.MAIN.CLASS</mainClass>
</configuration>
</execution>
4. In you project's pom.xml adjust the version of javafx-maven-plugin
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.5-SNAPSHOT</version>
5. Press the profile button
---------------------------------------------------------------------
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