changement de serveur BD

This commit is contained in:
morgann.david 2024-10-07 10:50:28 +02:00
parent 915c017d38
commit 92f988dd2f
5 changed files with 13 additions and 5 deletions

View File

@ -988,6 +988,7 @@ exists or setup the property manually. For example like this:
<copyfiles files="${file.reference.mysql-connector-java-8.0.23.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/> <copyfiles files="${file.reference.mysql-connector-java-8.0.23.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/> <copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.mysql-connector-j-8.3.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/> <copyfiles files="${file.reference.mysql-connector-j-8.3.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar-1}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<mkdir dir="${build.web.dir}/META-INF"/> <mkdir dir="${build.web.dir}/META-INF"/>
<manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/> <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
</target> </target>
@ -998,6 +999,7 @@ exists or setup the property manually. For example like this:
<copyfiles files="${file.reference.mysql-connector-java-8.0.23.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/> <copyfiles files="${file.reference.mysql-connector-java-8.0.23.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/> <copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.mysql-connector-j-8.3.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/> <copyfiles files="${file.reference.mysql-connector-j-8.3.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar-1}" todir="${build.web.dir}/WEB-INF/lib"/>
</target> </target>
<target depends="init" if="dist.ear.dir" name="-clean-webinf-lib"> <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
<delete dir="${build.web.dir}/WEB-INF/lib"/> <delete dir="${build.web.dir}/WEB-INF/lib"/>

View File

@ -1,8 +1,8 @@
build.xml.data.CRC32=dbd0b531 build.xml.data.CRC32=388b9b2c
build.xml.script.CRC32=bc096c9a build.xml.script.CRC32=bc096c9a
build.xml.stylesheet.CRC32=1707db4f@1.98.0.1 build.xml.stylesheet.CRC32=1707db4f@1.98.0.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # 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. # 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=dbd0b531 nbproject/build-impl.xml.data.CRC32=388b9b2c
nbproject/build-impl.xml.script.CRC32=482b06a7 nbproject/build-impl.xml.script.CRC32=fcb699a7
nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.98.0.1 nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.98.0.1

View File

@ -28,6 +28,7 @@ dist.war=${dist.dir}/${war.name}
endorsed.classpath= endorsed.classpath=
excludes= excludes=
file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar=../../../../Users/sio/Downloads/jakarta.servlet.jsp.jstl-2.0.0.jar file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar=../../../../Users/sio/Downloads/jakarta.servlet.jsp.jstl-2.0.0.jar
file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar-1=C:\\Users\\morgann.david\\Downloads\\jakarta.servlet.jsp.jstl-2.0.0.jar
file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar=../../../../Users/sio/Downloads/jakarta.servlet.jsp.jstl-api-2.0.0.jar file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar=../../../../Users/sio/Downloads/jakarta.servlet.jsp.jstl-api-2.0.0.jar
file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1=../../../Downloads/jakarta.servlet.jsp.jstl-api-2.0.0.jar file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1=../../../Downloads/jakarta.servlet.jsp.jstl-api-2.0.0.jar
file.reference.mysql-connector-j-8.3.0.jar=../../../Downloads/mysql-connector-j-8.3.0.jar file.reference.mysql-connector-j-8.3.0.jar=../../../Downloads/mysql-connector-j-8.3.0.jar
@ -47,7 +48,8 @@ javac.classpath=\
${file.reference.mysql-connector-java-8.0.23.jar}:\ ${file.reference.mysql-connector-java-8.0.23.jar}:\
${file.reference.mysql-connector-java-8.0.23.jar-1}:\ ${file.reference.mysql-connector-java-8.0.23.jar-1}:\
${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}:\ ${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar-1}:\
${file.reference.mysql-connector-j-8.3.0.jar} ${file.reference.mysql-connector-j-8.3.0.jar}:\
${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar-1}
# Space-separated list of extra javac options # Space-separated list of extra javac options
javac.compilerargs= javac.compilerargs=
javac.debug=true javac.debug=true

View File

@ -30,6 +30,10 @@
<file>${file.reference.mysql-connector-j-8.3.0.jar}</file> <file>${file.reference.mysql-connector-j-8.3.0.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war> <path-in-war>WEB-INF/lib</path-in-war>
</library> </library>
<library dirs="200">
<file>${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar-1}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
</web-module-libraries> </web-module-libraries>
<web-module-additional-libraries/> <web-module-additional-libraries/>
<source-roots> <source-roots>

View File

@ -16,7 +16,7 @@ import java.sql.SQLException;
* @author sio * @author sio
*/ */
public class ClientMySQL { public class ClientMySQL {
private final Connection theConnection = Connexion.getConnect("10.121.38.165", "bdclient", "adminBDClient", "mdpBDClient"); private final Connection theConnection = Connexion.getConnect("10.121.38.106", "bdclient", "adminBDClient", "mdpBDClient");
public void create(Client leClient){ public void create(Client leClient){