File: 0004-split-deploy-webapps-target-from-deploy-target.patch

package info (click to toggle)
tomcat10 10.1.6-1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 43,984 kB
  • sloc: java: 348,364; xml: 52,835; jsp: 4,634; sh: 1,357; perl: 315; makefile: 24
file content (30 lines) | stat: -rw-r--r-- 957 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Mon, 28 Jun 2010 21:32:35 +0200
Subject: [PATCH] split deploy-webapps target from deploy target

---
 build.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

--- a/build.xml
+++ b/build.xml
@@ -1455,7 +1455,7 @@
     </xslt>
   </target>
 
-  <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
+  <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples,deploy-webapps"
           description="Default. Builds a working Tomcat instance">
 
     <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
@@ -1489,6 +1489,10 @@
       </fileset>
     </copy>
 
+  </target>
+
+  <target name="deploy-webapps" depends="package,build-docs">
+
     <!-- Copy other regular webapps -->
     <copy todir="${tomcat.build}/webapps">
       <fileset dir="webapps">