This commit is contained in:
parent
13b529f7e2
commit
78c83321fa
@ -982,10 +982,17 @@ exists or setup the property manually. For example like this:
|
|||||||
</target>
|
</target>
|
||||||
<target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
|
<target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
|
||||||
<target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
|
<target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
|
||||||
|
<copyfiles files="${file.reference.mysql-connector-java-8.0.26.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
|
||||||
|
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
|
||||||
|
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar}" 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>
|
||||||
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir"/>
|
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
|
||||||
|
<copyfiles files="${file.reference.mysql-connector-java-8.0.26.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
|
||||||
|
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
|
||||||
|
<copyfiles files="${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
|
||||||
|
</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"/>
|
||||||
</target>
|
</target>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
build.xml.data.CRC32=7785d0a3
|
build.xml.data.CRC32=a0d2495d
|
||||||
build.xml.script.CRC32=bb2bc461
|
build.xml.script.CRC32=bb2bc461
|
||||||
build.xml.stylesheet.CRC32=1707db4f@1.86.0.1
|
build.xml.stylesheet.CRC32=1707db4f@1.86.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=7785d0a3
|
nbproject/build-impl.xml.data.CRC32=a0d2495d
|
||||||
nbproject/build-impl.xml.script.CRC32=09a55b8e
|
nbproject/build-impl.xml.script.CRC32=8929a79e
|
||||||
nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.86.0.1
|
nbproject/build-impl.xml.stylesheet.CRC32=334708a0@1.86.0.1
|
||||||
|
@ -28,6 +28,9 @@ dist.war=${dist.dir}/${war.name}
|
|||||||
endorsed.classpath=\
|
endorsed.classpath=\
|
||||||
${libs.javaee-endorsed-api-7.0.classpath}
|
${libs.javaee-endorsed-api-7.0.classpath}
|
||||||
excludes=
|
excludes=
|
||||||
|
file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar=/home/funcha.ahamadi/T\u00e9l\u00e9chargements/jakarta.servlet.jsp.jstl-2.0.0.jar
|
||||||
|
file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar=/home/funcha.ahamadi/T\u00e9l\u00e9chargements/jakarta.servlet.jsp.jstl-api-2.0.0.jar
|
||||||
|
file.reference.mysql-connector-java-8.0.26.jar=/usr/share/java/mysql-connector-java-8.0.26.jar
|
||||||
includes=**
|
includes=**
|
||||||
j2ee.compile.on.save=true
|
j2ee.compile.on.save=true
|
||||||
j2ee.copy.static.files.on.save=true
|
j2ee.copy.static.files.on.save=true
|
||||||
@ -36,7 +39,10 @@ j2ee.platform=1.7-web
|
|||||||
j2ee.platform.classpath=${j2ee.server.domain}/lib/annotations-api.jar:${j2ee.server.domain}/lib/catalina-ant.jar:${j2ee.server.domain}/lib/catalina-ha.jar:${j2ee.server.domain}/lib/catalina-ssi.jar:${j2ee.server.domain}/lib/catalina-storeconfig.jar:${j2ee.server.domain}/lib/catalina-tribes.jar:${j2ee.server.domain}/lib/catalina.jar:${j2ee.server.domain}/lib/ecj-4.20.jar:${j2ee.server.domain}/lib/el-api.jar:${j2ee.server.domain}/lib/jakartaee-migration-1.0.0-shaded.jar:${j2ee.server.domain}/lib/jasper-el.jar:${j2ee.server.domain}/lib/jasper.jar:${j2ee.server.domain}/lib/jaspic-api.jar:${j2ee.server.domain}/lib/jsp-api.jar:${j2ee.server.domain}/lib/servlet-api.jar:${j2ee.server.domain}/lib/tomcat-api.jar:${j2ee.server.domain}/lib/tomcat-coyote.jar:${j2ee.server.domain}/lib/tomcat-dbcp.jar:${j2ee.server.domain}/lib/tomcat-i18n-cs.jar:${j2ee.server.domain}/lib/tomcat-i18n-de.jar:${j2ee.server.domain}/lib/tomcat-i18n-es.jar:${j2ee.server.domain}/lib/tomcat-i18n-fr.jar:${j2ee.server.domain}/lib/tomcat-i18n-ja.jar:${j2ee.server.domain}/lib/tomcat-i18n-ko.jar:${j2ee.server.domain}/lib/tomcat-i18n-pt-BR.jar:${j2ee.server.domain}/lib/tomcat-i18n-ru.jar:${j2ee.server.domain}/lib/tomcat-i18n-zh-CN.jar:${j2ee.server.domain}/lib/tomcat-jdbc.jar:${j2ee.server.domain}/lib/tomcat-jni.jar:${j2ee.server.domain}/lib/tomcat-util-scan.jar:${j2ee.server.domain}/lib/tomcat-util.jar:${j2ee.server.domain}/lib/tomcat-websocket.jar:${j2ee.server.domain}/lib/websocket-api.jar
|
j2ee.platform.classpath=${j2ee.server.domain}/lib/annotations-api.jar:${j2ee.server.domain}/lib/catalina-ant.jar:${j2ee.server.domain}/lib/catalina-ha.jar:${j2ee.server.domain}/lib/catalina-ssi.jar:${j2ee.server.domain}/lib/catalina-storeconfig.jar:${j2ee.server.domain}/lib/catalina-tribes.jar:${j2ee.server.domain}/lib/catalina.jar:${j2ee.server.domain}/lib/ecj-4.20.jar:${j2ee.server.domain}/lib/el-api.jar:${j2ee.server.domain}/lib/jakartaee-migration-1.0.0-shaded.jar:${j2ee.server.domain}/lib/jasper-el.jar:${j2ee.server.domain}/lib/jasper.jar:${j2ee.server.domain}/lib/jaspic-api.jar:${j2ee.server.domain}/lib/jsp-api.jar:${j2ee.server.domain}/lib/servlet-api.jar:${j2ee.server.domain}/lib/tomcat-api.jar:${j2ee.server.domain}/lib/tomcat-coyote.jar:${j2ee.server.domain}/lib/tomcat-dbcp.jar:${j2ee.server.domain}/lib/tomcat-i18n-cs.jar:${j2ee.server.domain}/lib/tomcat-i18n-de.jar:${j2ee.server.domain}/lib/tomcat-i18n-es.jar:${j2ee.server.domain}/lib/tomcat-i18n-fr.jar:${j2ee.server.domain}/lib/tomcat-i18n-ja.jar:${j2ee.server.domain}/lib/tomcat-i18n-ko.jar:${j2ee.server.domain}/lib/tomcat-i18n-pt-BR.jar:${j2ee.server.domain}/lib/tomcat-i18n-ru.jar:${j2ee.server.domain}/lib/tomcat-i18n-zh-CN.jar:${j2ee.server.domain}/lib/tomcat-jdbc.jar:${j2ee.server.domain}/lib/tomcat-jni.jar:${j2ee.server.domain}/lib/tomcat-util-scan.jar:${j2ee.server.domain}/lib/tomcat-util.jar:${j2ee.server.domain}/lib/tomcat-websocket.jar:${j2ee.server.domain}/lib/websocket-api.jar
|
||||||
j2ee.server.type=Tomcat
|
j2ee.server.type=Tomcat
|
||||||
jar.compress=false
|
jar.compress=false
|
||||||
javac.classpath=
|
javac.classpath=\
|
||||||
|
${file.reference.mysql-connector-java-8.0.26.jar}:\
|
||||||
|
${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar}:\
|
||||||
|
${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar}
|
||||||
# Space-separated list of extra javac options
|
# Space-separated list of extra javac options
|
||||||
javac.compilerargs=
|
javac.compilerargs=
|
||||||
javac.debug=true
|
javac.debug=true
|
||||||
|
@ -5,7 +5,20 @@
|
|||||||
<data xmlns="http://www.netbeans.org/ns/web-project/3">
|
<data xmlns="http://www.netbeans.org/ns/web-project/3">
|
||||||
<name>ProjetSDIS29</name>
|
<name>ProjetSDIS29</name>
|
||||||
<minimum-ant-version>1.6.5</minimum-ant-version>
|
<minimum-ant-version>1.6.5</minimum-ant-version>
|
||||||
<web-module-libraries/>
|
<web-module-libraries>
|
||||||
|
<library dirs="200">
|
||||||
|
<file>${file.reference.mysql-connector-java-8.0.26.jar}</file>
|
||||||
|
<path-in-war>WEB-INF/lib</path-in-war>
|
||||||
|
</library>
|
||||||
|
<library dirs="200">
|
||||||
|
<file>${file.reference.jakarta.servlet.jsp.jstl-2.0.0.jar}</file>
|
||||||
|
<path-in-war>WEB-INF/lib</path-in-war>
|
||||||
|
</library>
|
||||||
|
<library dirs="200">
|
||||||
|
<file>${file.reference.jakarta.servlet.jsp.jstl-api-2.0.0.jar}</file>
|
||||||
|
<path-in-war>WEB-INF/lib</path-in-war>
|
||||||
|
</library>
|
||||||
|
</web-module-libraries>
|
||||||
<web-module-additional-libraries/>
|
<web-module-additional-libraries/>
|
||||||
<source-roots>
|
<source-roots>
|
||||||
<root id="src.dir" name="Source Packages"/>
|
<root id="src.dir" name="Source Packages"/>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<title>JSP Page</title>
|
<title>Chef de caserne</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello World!</h1>
|
<h1>Hello World!</h1>
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
<%--
|
|
||||||
Document : newjsp
|
|
||||||
Created on : 18 oct. 2021, 11:35:22
|
|
||||||
Author : funcha.ahamadi
|
|
||||||
--%>
|
|
||||||
|
|
||||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<title>JSP Page</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Hello World!</h1>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user