Browse Source

fixed prject setup in order to run tests in IDEs automeicly

featureHotfixProjektSetup
Lukas Reichwein 5 years ago
parent
commit
cec9919dba
  1. 2
      pom.xml
  2. 8
      src/main/java/com/ugsbo/gui/StartApplication.java
  3. 8
      src/main/java/module-info.java

2
pom.xml

@ -99,7 +99,7 @@
<release>12</release> <release>12</release>
<jlinkImageName>UGSBO</jlinkImageName> <jlinkImageName>UGSBO</jlinkImageName>
<launcher>launcher</launcher> <launcher>launcher</launcher>
<mainClass>UGSBO/com.ugsbo.gui.MainApp</mainClass>
<mainClass>UGSBO/com.ugsbo.gui.StartApplication</mainClass>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

8
src/main/java/com/ugsbo/gui/StartApplication.java

@ -0,0 +1,8 @@
package com.ugsbo.gui;
public class StartApplication {
public static void main(String[] args) {
MainApp.main(args);
}
}

8
src/main/java/module-info.java

@ -1,8 +0,0 @@
module UGSBO {
requires javafx.controls;
requires javafx.fxml;
opens com.ugsbo.gui to javafx.fxml;
exports com.ugsbo.gui;
}
Loading…
Cancel
Save