]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Updated 'jcore.jar' + added initialization of backends for local call + caught all...
authorRoland Haeder <roland@mxchange.org>
Wed, 19 Aug 2015 12:47:05 +0000 (14:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 19 Aug 2015 13:04:10 +0000 (15:04 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore.jar
lib/nblibraries.properties
nbproject/build-impl.xml
nbproject/genfiles.properties
nbproject/project.properties
nbproject/project.xml
src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java

index 0e8813704d51794f066ea23fb50fd7504286bb4a..bcc5b02c6b6c308992fff68addd0f12ac6b54a42 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 6d0afb59d64978f1c42b37eda93de4d6acaa674c..c6143cc50b07ca2f5863a425daac19e444b0c9ae 100644 (file)
@@ -2,3 +2,7 @@ libs.CopyLibs.classpath=\
     ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
 libs.CopyLibs.displayName=CopyLibs Task
 libs.CopyLibs.prop-version=2.0
+libs.MySQLDriver.classpath=\
+    ${base}/MySQLDriver/mysql-connector-java-5.1.23-bin.jar
+libs.MySQLDriver.displayName=MySQL JDBC Driver
+libs.MySQLDriver.prop-maven-dependencies=mysql:mysql-connector-java:5.1.23:jar
index f6e8b2bbc53e1099b83b51e722fab6743408ecea..b0f7fcc0a1d40e3645e42499925a33b6e14d1885 100644 (file)
@@ -1026,6 +1026,7 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.log4j-api-2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.log4j-core-2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.commons-codec-1.10.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${libs.MySQLDriver.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <mkdir dir="${build.web.dir}/META-INF"/>
         <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
     </target>
@@ -1034,6 +1035,7 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.log4j-api-2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.log4j-core-2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.commons-codec-1.10.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${libs.MySQLDriver.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
     </target>
     <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
         <delete dir="${build.web.dir}/WEB-INF/lib"/>
index 4420a8f44f6548f6cabaa35e76f324b6b5c1d973..9e11a91ac860285468fdadadcc537623d0301f66 100644 (file)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=948b49d3
+build.xml.data.CRC32=04817f3c
 build.xml.script.CRC32=a6f5a733
 build.xml.stylesheet.CRC32=651128d4@1.68.1.1
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=948b49d3
-nbproject/build-impl.xml.script.CRC32=4bfe912f
+nbproject/build-impl.xml.data.CRC32=04817f3c
+nbproject/build-impl.xml.script.CRC32=7f4d7ef9
 nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1
index 0223e42fbeb92d0e8882a28fa51ad4eabd66c35e..b22f6a3909f6990b6429ab946b82ca2b5781e003 100644 (file)
@@ -48,7 +48,8 @@ javac.classpath=\
     ${file.reference.jcore.jar}:\
     ${file.reference.log4j-api-2.3.jar}:\
     ${file.reference.log4j-core-2.3.jar}:\
-    ${file.reference.commons-codec-1.10.jar}
+    ${file.reference.commons-codec-1.10.jar}:\
+    ${libs.MySQLDriver.classpath}
 # Space-separated list of extra javac options
 javac.compilerargs=-Xlint:unchecked
 javac.debug=true
index 5d68967fdb835998a3e2bd6d677145fb14bb5c0a..d97b82e6b62e05cfcec752c0fe25ff5437f4bca6 100644 (file)
                     <file>${file.reference.commons-codec-1.10.jar}</file>
                     <path-in-war>WEB-INF/lib</path-in-war>
                 </library>
+                <library dirs="200">
+                    <file>${libs.MySQLDriver.classpath}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
             </web-module-libraries>
             <web-module-additional-libraries/>
             <source-roots>
index b81e142a635f910f33f657baf829a5e615d46bae..f97bad78e9b1c84dc0dfc996da86f019aa25ce6d 100644 (file)
@@ -1171,7 +1171,10 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                try {
                        // Init properties
                        this.initProperties();
-               } catch (final IOException ex) {
+
+                       // And frontends
+                       this.initDatabaseFrontends();
+               } catch (final IOException | UnsupportedDatabaseBackendException | SQLException ex) {
                        // Abort here
                        this.abortProgramWithException(ex);
                }