- Added Main class to start from inside NetBeans

- updated PMD / Spotbugs to latest version
- Ignored Netbeans nbactions.xml
This commit is contained in:
Konrad Neitzel 2022-11-28 13:09:26 +01:00
parent c95b54eea2
commit 61e33aff0c
3 changed files with 19 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.idea
*.iml
target
debug.out
debug.out
/nbactions.xml

View File

@ -42,10 +42,10 @@
<moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin>
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
<maven.pmd.version>3.16.0</maven.pmd.version>
<pmd.version>6.49.0</pmd.version>
<pmd.version>6.52.0</pmd.version>
<codehaus.version.plugin>2.11.0</codehaus.version.plugin>
<spotbugs.maven.plugin>4.7.2.0</spotbugs.maven.plugin>
<spotbugs.version>4.7.2</spotbugs.version>
<spotbugs.version>4.7.3</spotbugs.version>
<!-- other properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -0,0 +1,15 @@
package de.kneitzel;
/**
* Another Main class as workaround when the JavaFX Application ist started without
* taking care os Classloader Requirements of JavaFX. (Important when starting from inside NetBeans!)
*/
public class Main {
/**
* Additional main methode to start Application.
* @param args Commandline Arguments.
*/
public static void main(String[] args) {
JavaFXApp.main(args);
}
}