- Added Main class to start from inside NetBeans
- updated PMD / Spotbugs to latest version - Ignored Netbeans nbactions.xml
This commit is contained in:
parent
c95b54eea2
commit
61e33aff0c
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
*.iml
|
*.iml
|
||||||
target
|
target
|
||||||
debug.out
|
debug.out
|
||||||
|
/nbactions.xml
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@ -42,10 +42,10 @@
|
|||||||
<moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin>
|
<moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin>
|
||||||
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
|
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
|
||||||
<maven.pmd.version>3.16.0</maven.pmd.version>
|
<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>
|
<codehaus.version.plugin>2.11.0</codehaus.version.plugin>
|
||||||
<spotbugs.maven.plugin>4.7.2.0</spotbugs.maven.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 -->
|
<!-- other properties -->
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|||||||
15
src/main/java/de/kneitzel/Main.java
Normal file
15
src/main/java/de/kneitzel/Main.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user