+ * To allow Maven shading, the main method has to be separated from the + * {@link Startup} class which extends {@link Application}. + *
+ * Project: envoy-client
+ * File: Main.java
+ * Created: 05.07.2020
+ *
+ * @author Kai S. K. Engelbart
+ * @since Envoy Client v0.1-beta
+ */
+public class Main {
+
+ /**
+ * Starts the application.
+ *
+ * @param args the command line arguments are processed by the
+ * client configuration
+ * @since Envoy Client v0.1-beta
+ */
+ public static void main(String[] args) { Application.launch(Startup.class, args); }
+}
diff --git a/src/main/java/envoy/client/ui/Startup.java b/src/main/java/envoy/client/ui/Startup.java
index f57b22e..c505f33 100644
--- a/src/main/java/envoy/client/ui/Startup.java
+++ b/src/main/java/envoy/client/ui/Startup.java
@@ -128,13 +128,4 @@ public final class Startup extends Application {
logger.log(Level.SEVERE, "Unable to save local files: ", e);
}
}
-
- /**
- * Starts the application.
- *
- * @param args the command line arguments are processed by the
- * {@link ClientConfig}
- * @since Envoy Client v0.1-beta
- */
- public static void main(String[] args) { launch(args); }
}