Kenneth Fogel created NETBEANS-4120:
---------------------------------------
Summary: nbactions.xml use of clean and javafx:run goals blocks
unit tests
Key: NETBEANS-4120
URL: https://issues.apache.org/jira/browse/NETBEANS-4120
Project: NetBeans
Issue Type: Bug
Affects Versions: 12.0
Environment: Win 10, Java 14, NB 12.0 Beta 2, OpenFX 15-ea+2
Reporter: Kenneth Fogel
Fix For: 12.0
In nbaction.xml the entry:
<action>
<actionName>run</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>clean</goal>
<goal>javafx:run</goal>
</goals>
</action>
should be
<action>
<actionName>run</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>clean</goal>
<goal>test</goal> <!-- MISSING -->
<goal>javafx:run</goal>
</goals>
</action>
All goals between clean and javafx:run should be executed. For unknown reasons
javafx:run excludes testing. This was discovered when the goals in a Maven pom
of clean javafx:run would not run tests. Add test to the pom or the
nbactions.xml resolved this. If the project does not have any test classes then
there is no issue and the FX app starts up normally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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