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

package info (click to toggle)
tomcat10 10.1.40-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 46,544 kB
  • sloc: java: 371,059; xml: 57,664; jsp: 4,654; sh: 1,381; perl: 314; makefile: 25; ansic: 15
file content (30 lines) | stat: -rw-r--r-- 957 bytes parent folder | download | duplicates (3)
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
@@ -1512,7 +1512,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}" />
@@ -1546,6 +1546,10 @@
       </fileset>
     </copy>
 
+  </target>
+
+  <target name="deploy-webapps" depends="package,build-docs">
+
     <!-- Copy other regular webapps -->
     <copy todir="${tomcat.build}/webapps">
       <fileset dir="webapps">