Possibility to build executable jar files. Removed applet support.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 14 May 2017 22:17:47 +0000 (01:17 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 14 May 2017 22:17:47 +0000 (01:17 +0300)
Because of Oracle awful java security handling Java applet support
seems to be dead.

pom.xml
sixth-3d-demos.iml
src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java [deleted file]
src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java [new file with mode: 0755]
src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java [deleted file]

diff --git a/pom.xml b/pom.xml
index e433b21..808d8d3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 <configuration>
                     <archive>
                         <manifest>
-                            <mainClass>eu.svjatoslav.sixth.Main</mainClass>
+                            <mainClass>eu.svjatoslav.sixth.e3d.examples.launcher.Main</mainClass>
                         </manifest>
                     </archive>
                     <descriptorRefs>
                         <descriptorRef>jar-with-dependencies</descriptorRef>
                     </descriptorRefs>
-                    <finalName>sixth</finalName>
+                    <finalName>sixth-3d-demos</finalName>
                     <appendAssemblyId>false</appendAssemblyId>
                 </configuration>
 
                             </descriptorRefs>
                             <archive>
                                 <manifest>
-                                    <mainClass>eu.svjatoslav.sixth.Main</mainClass>
+                                    <mainClass>eu.svjatoslav.sixth.e3d.examples.launcher.Main</mainClass>
                                 </manifest>
                             </archive>
                         </configuration>
index 867e70a..a81cbb2 100644 (file)
@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
     <output url="file://$MODULE_DIR$/target/classes" />
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
       <excludeFolder url="file://$MODULE_DIR$/target" />
     </content>
     <orderEntry type="inheritedJdk" />
diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Applet.java
deleted file mode 100644 (file)
index 62e8ef8..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
- */
-
-package eu.svjatoslav.sixth.e3d.examples.launcher;
-
-import javax.swing.*;
-
-public class Applet extends JApplet {
-
-    private static final long serialVersionUID = 8159435871928091621L;
-    private boolean appletInitialized = false;
-
-    @Override
-    public void init() {
-        if (!appletInitialized) {
-
-            getContentPane().add(new MenuPanel());
-            appletInitialized = true;
-        }
-    }
-
-}
diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Main.java
new file mode 100755 (executable)
index 0000000..5b970d4
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
+
+package eu.svjatoslav.sixth.e3d.examples.launcher;
+
+/**
+ * Main class to launch main menu with examples.
+ */
+
+class Main {
+
+    public static void main(final String[] args) {
+        LauncherFrame.main(args);
+    }
+
+}
diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java b/src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/Standalone.java
deleted file mode 100755 (executable)
index 09fe770..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
- */
-
-package eu.svjatoslav.sixth.e3d.examples.launcher;
-
-/**
- * Main class to launch main menu with examples.
- */
-
-class Standalone {
-
-    public static void main(final String[] args) {
-        LauncherFrame.main(args);
-    }
-
-}