summaryrefslogtreecommitdiff
blob: 832ce0be4a23342470e7d06a38fa8a40497f931c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
diff --git a/build.xml b/build.xml
index 92d8b92..790d8fd 100644
--- a/build.xml
+++ b/build.xml
@@ -685,12 +685,14 @@
       </fileset>
     </copy>
     <!-- Copy JSP Schemas and DTDs to be packed into servlet-api.jar -->
+<!--
     <copy todir="${tomcat.classes}/javax/servlet/resources" encoding="ISO-8859-1">
       <fileset dir="${tomcat.classes}/javax/servlet/jsp/resources">
         <include name="*" />
         <exclude name="jspxml*" />
       </fileset>
     </copy>
+-->
 
   </target>
 
@@ -741,26 +743,32 @@
       manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
 
     <!-- Servlet 3.0 Implementation JAR File -->
+<!--
     <jarIt jarfile="${servlet-api.jar}"
       filesDir="${tomcat.classes}"
       filesId="files.servlet-api"
       manifest="${tomcat.manifests}/servlet-api.jar.manifest"
       notice="${tomcat.manifests}/servlet-api.jar.notice"
       license="${tomcat.manifests}/servlet-api.jar.license" />
+-->
 
     <!-- JSP 2.2 Implementation JAR File -->
+<!--
     <jarIt jarfile="${jsp-api.jar}"
       filesDir="${tomcat.classes}"
       filesId="files.jsp-api"
       manifest="${tomcat.manifests}/jsp-api.jar.manifest"
       notice="${tomcat.manifests}/jsp-api.jar.notice"
       license="${tomcat.manifests}/jsp-api.jar.license" />
+-->
 
     <!-- JSP 2.2 EL Implementation JAR File -->
+<!--
     <jarIt jarfile="${el-api.jar}"
       filesDir="${tomcat.classes}"
       filesId="files.el-api"
       manifest="${tomcat.manifests}/el-api.jar.manifest" />
+-->
 
     <!-- Bootstrap JAR File -->
     <jarIt jarfile="${bootstrap.jar}"
@@ -819,9 +827,9 @@
       filesId="files.jasper-el" />
 
     <!-- Re-packaged Apache Commons DBCP 1-->
-    <jarIt jarfile="${tomcat-dbcp.jar}"
+<!--    <jarIt jarfile="${tomcat-dbcp.jar}"
       filesDir="${tomcat.classes}"
-      filesId="files.tomcat-dbcp" />
+      filesId="files.tomcat-dbcp" /> -->
 
     <!-- i18n JARs -->
     <jar jarfile="${tomcat.build}/lib/tomcat-i18n-es.jar"
@@ -1022,9 +1030,9 @@
 
   <target name="deploy" depends="package,build-docs,compile-webapp-examples"
           description="Default. Builds a working Tomcat instance">
-
+<!--
     <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
-
+-->
     <!-- Copy scripts -->
     <copy todir="${tomcat.build}/bin">
       <fileset dir="bin">
@@ -1083,7 +1091,7 @@
         <exclude name="${jdt.jar.filename}"/>
       </fileset>
     </delete>
-    <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
+<!--    <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
 
     <!-- Add sources for examples -->
     <antcall target="examples-sources" />
@@ -1728,7 +1736,7 @@
 
   <target name="extras-webservices-prepare"
           depends="extras-prepare"
-          description="Prepare to build web services extras package">
+          description="Prepare to build web services extras package" unless="noget">
 
     <antcall target="downloadfile">
       <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
@@ -1925,11 +1933,12 @@
     </copy>
 
     <!-- Source bundles for native components -->
+<!--
     <copy tofile="${tomcat.dist}/bin/tomcat-native.tar.gz"
             file="${tomcat-native.tar.gz}" />
     <copy tofile="${tomcat.dist}/bin/commons-daemon-native.tar.gz"
             file="${commons-daemon.native.src.tgz}" />
-
+-->
     <!-- platform README files -->
     <echo append="false" file="${tomcat.dist}/bin/x64/README">
 Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
@@ -1941,6 +1950,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
     description="Create the Tomcat javadoc" >
     <fail unless="java.7.home"
           message="The java.7.home property must be set for javadoc build"/>
+<!--
     <javadoc packagenames="javax.servlet.*"
       excludepackagenames="javax.servlet.jsp.*"
       sourcepath="${tomcat.dist}/src/java"
@@ -2005,6 +2015,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
         <path location="${ant.core.lib}"/>
       </classpath>
     </javadoc>
+-->
     <javadoc packagenames="javax.websocket.*"
       sourcepath="${tomcat.dist}/src/java"
       destdir="${tomcat.dist}/webapps/docs/websocketapi"
@@ -2045,9 +2056,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
         <path refid="tomcat.webservices.classpath"/>
         <path location="${ant.core.lib}"/>
       </classpath>
+<!--
       <link href="../servletapi"/>
       <link href="../jspapi"/>
       <link href="../elapi"/>
+-->
       <link href="../websocketapi"/>
       <link href="http://docs.oracle.com/javase/7/docs/api/"/>
       <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
@@ -2658,7 +2671,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
   </target>
 
   <target name="download-compile"
-          description="Download components necessary to compile" >
+          description="Download components necessary to compile" unless="noget" >
 
     <!-- Download Commons Daemon -->
     <antcall target="downloadgz-2">
@@ -2683,7 +2696,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
   </target>
 
   <target name="download-test-compile"
-          description="Download additional components for the tests" >
+          description="Download additional components for the tests" unless="noget">
 
     <antcall target="downloadfile">
       <param name="sourcefile" value="${junit.loc}"/>
@@ -2747,7 +2760,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
   </target>
 
   <target name="download-dist"
-          description="Download additional components for a distribution" >
+          description="Download additional components for a distribution" unless="noget">
 
     <antcall target="downloadfile-2">
       <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>