${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
<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>
<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"/>
-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
${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
<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>
try {
// Init properties
this.initProperties();
- } catch (final IOException ex) {
+
+ // And frontends
+ this.initDatabaseFrontends();
+ } catch (final IOException | UnsupportedDatabaseBackendException | SQLException ex) {
// Abort here
this.abortProgramWithException(ex);
}