summaryrefslogtreecommitdiff
blob: 3c34001428fd21afe58bbddf38a045439dc64402 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
Index: apache-tomcat-5.5.27-src/build/build.xml
===================================================================
--- apache-tomcat-5.5.27-src.orig/build/build.xml
+++ apache-tomcat-5.5.27-src/build/build.xml
@@ -412,18 +412,6 @@
     <touch file="${tomcat.build}/server/webapps/admin/WEB-INF/web.xml" />
   </target>
 
-  <target name="build-webapps-precompile"
-          depends="init" description="Precompile webapps" >
-
-    <antcall target="build-webapp-precompile-admin" />
-    <antcall target="build-webapp-precompile-examples" />
-
-    <!-- JSPC -->
-    <property name="ROOT.base" location="${tomcat.build}/webapps/ROOT" />
-
-    <mkdir dir="${ROOT.base}/WEB-INF/src" />
-    <mkdir dir="${ROOT.base}/WEB-INF/classes" />
-
     <path id="jspc.classpath">
       <pathelement location="${java.home}/../lib/tools.jar"/>
       <pathelement location="${commons-logging.jar}"/>
@@ -444,6 +432,18 @@
       </fileset>
     </path>
 
+  <target name="build-webapps-precompile"
+          depends="init" description="Precompile webapps" >
+
+    <antcall target="build-webapp-precompile-admin" />
+    <antcall target="build-webapp-precompile-examples" />
+
+    <!-- JSPC -->
+    <property name="ROOT.base" location="${tomcat.build}/webapps/ROOT" />
+
+    <mkdir dir="${ROOT.base}/WEB-INF/src" />
+    <mkdir dir="${ROOT.base}/WEB-INF/classes" />
+
     <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
       <classpath refid="jspc.classpath"/>
     </taskdef>