1 |
commit: e146ea34e5dce5b1634be3336368c02818b7aa2b |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Thu Jun 2 08:18:03 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 05:38:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e146ea34 |
7 |
|
8 |
www-servers/tomcat: remove unused patches |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/25727 |
13 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
14 |
|
15 |
.../tomcat/files/tomcat-10.0.16-build.xml.patch | 349 --------------------- |
16 |
.../tomcat/files/tomcat-9.0.58-build.xml.patch | 321 ------------------- |
17 |
2 files changed, 670 deletions(-) |
18 |
|
19 |
diff --git a/www-servers/tomcat/files/tomcat-10.0.16-build.xml.patch b/www-servers/tomcat/files/tomcat-10.0.16-build.xml.patch |
20 |
deleted file mode 100644 |
21 |
index 38b3a335eca6..000000000000 |
22 |
--- a/www-servers/tomcat/files/tomcat-10.0.16-build.xml.patch |
23 |
+++ /dev/null |
24 |
@@ -1,349 +0,0 @@ |
25 |
-diff --git a/build.xml b/build.xml |
26 |
-index 33a4fde..6b2b5d5 100644 |
27 |
---- a/build.xml |
28 |
-+++ b/build.xml |
29 |
-@@ -1012,6 +1012,7 @@ |
30 |
- addOSGi="true" /> |
31 |
- |
32 |
- <!-- Servlet Implementation JAR File --> |
33 |
-+<!-- |
34 |
- <jarIt jarfile="${servlet-api.jar}" |
35 |
- filesDir="${tomcat.classes}" |
36 |
- filesId="files.servlet-api" |
37 |
-@@ -1019,21 +1020,23 @@ |
38 |
- notice="${tomcat.manifests}/servlet-api.jar.notice" |
39 |
- license="${tomcat.manifests}/servlet-api.jar.license" |
40 |
- addOSGi="true" /> |
41 |
-- |
42 |
-+--> |
43 |
- <!-- EL Implementation JAR File --> |
44 |
-+<!-- |
45 |
- <jarIt jarfile="${el-api.jar}" |
46 |
- filesDir="${tomcat.classes}" |
47 |
- filesId="files.el-api" |
48 |
- manifest="${tomcat.manifests}/el-api.jar.manifest" |
49 |
- addOSGi="true" /> |
50 |
-- |
51 |
-+--> |
52 |
- <!-- JSP Implementation JAR File --> |
53 |
-+<!-- |
54 |
- <jarIt jarfile="${jsp-api.jar}" |
55 |
- filesDir="${tomcat.classes}" |
56 |
- filesId="files.jsp-api" |
57 |
- manifest="${tomcat.manifests}/jsp-api.jar.manifest" |
58 |
- addOSGi="true" /> |
59 |
-- |
60 |
-+--> |
61 |
- <!-- WebSocket API JAR File --> |
62 |
- <jarIt jarfile="${websocket-api.jar}" |
63 |
- filesDir="${tomcat.classes}" |
64 |
-@@ -1146,10 +1149,10 @@ |
65 |
- addOSGi="true" /> |
66 |
- |
67 |
- <!-- Re-packaged Apache Commons DBCP 2--> |
68 |
-- <jarIt jarfile="${tomcat-dbcp.jar}" |
69 |
-+<!-- <jarIt jarfile="${tomcat-dbcp.jar}" |
70 |
- filesDir="${tomcat.classes}" |
71 |
- filesId="files.tomcat-dbcp" |
72 |
-- addOSGi="true" /> |
73 |
-+ addOSGi="true" /> --> |
74 |
- |
75 |
- <!-- i18n JARs --> |
76 |
- <jar jarfile="${tomcat.build}/lib/tomcat-i18n-cs.jar" |
77 |
-@@ -1386,9 +1389,9 @@ |
78 |
- |
79 |
- <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples" |
80 |
- description="Default. Builds a working Tomcat instance"> |
81 |
-- |
82 |
-+<!-- |
83 |
- <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" /> |
84 |
-- |
85 |
-+--> |
86 |
- <!-- Copy scripts --> |
87 |
- <copy todir="${tomcat.build}/bin"> |
88 |
- <fileset dir="bin"> |
89 |
-@@ -1448,7 +1451,7 @@ |
90 |
- <exclude name="${jdt.jar.filename}"/> |
91 |
- </fileset> |
92 |
- </delete> |
93 |
-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> |
94 |
-+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> --> |
95 |
- |
96 |
- <!-- Delete all other versions of Tomcat Migration Tool for Jakarta EE and copy the current one --> |
97 |
- <local name="migration.jar.filename" /> |
98 |
-@@ -1459,7 +1462,7 @@ |
99 |
- <exclude name="${migration-lib.jar.filename}"/> |
100 |
- </fileset> |
101 |
- </delete> |
102 |
-- <copy file="${migration-lib.jar}" todir="${tomcat.build}/lib"/> |
103 |
-+<!-- <copy file="${migration-lib.jar}" todir="${tomcat.build}/lib"/> --> |
104 |
- |
105 |
- <!-- Add sources for examples --> |
106 |
- <antcall target="examples-sources" /> |
107 |
-@@ -1498,7 +1501,7 @@ |
108 |
- |
109 |
- </target> |
110 |
- |
111 |
-- <target name="build-tomcat-jdbc" depends="package"> |
112 |
-+ <target name="build-tomcat-jdbc" depends="package" unless="noget"> |
113 |
- <!-- build the jdbc-pool jar and source jar--> |
114 |
- <echo message="Building Tomcat JDBC pool libraries"/> |
115 |
- <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
116 |
-@@ -1514,7 +1517,7 @@ |
117 |
- <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/> |
118 |
- </target> |
119 |
- |
120 |
-- <target name="build-tomcat-jdbc-src"> |
121 |
-+ <target name="build-tomcat-jdbc-src" unless="noget"> |
122 |
- <!-- build the jdbc-pool source jar--> |
123 |
- <echo message="Building Tomcat JDBC pool src JAR"/> |
124 |
- <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
125 |
-@@ -1617,9 +1620,11 @@ |
126 |
- |
127 |
- <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" /> |
128 |
- <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" /> |
129 |
-+<!-- |
130 |
- <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}" |
131 |
- failonerror="false"/> |
132 |
- <copy file="${jdt.jar}" todir="${tomcat.embed}" /> |
133 |
-+--> |
134 |
- <copy file="${annotations-api.jar}" todir="${tomcat.embed}" /> |
135 |
- |
136 |
- <!-- Note the meta-inf below will work as long as there is only one JAR |
137 |
-@@ -2117,11 +2122,12 @@ |
138 |
- </copy> |
139 |
- |
140 |
- <!-- Source bundles for native components --> |
141 |
-+<!-- |
142 |
- <copy tofile="${tomcat.dist}/bin/tomcat-native.tar.gz" |
143 |
- file="${tomcat-native.tar.gz}" /> |
144 |
- <copy tofile="${tomcat.dist}/bin/commons-daemon-native.tar.gz" |
145 |
- file="${commons-daemon.native.src.tgz}" /> |
146 |
-- |
147 |
-+--> |
148 |
- <!-- platform README files --> |
149 |
- <echo append="false" file="${tomcat.dist}/bin/x64/README"> |
150 |
- Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
151 |
-@@ -2145,13 +2151,13 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
152 |
- additionalparam="-breakiterator -notimestamp -html5" |
153 |
- source="${compile.release}" |
154 |
- maxmemory="512m" |
155 |
-- failonerror="true" |
156 |
-- failonwarning="true"> |
157 |
-+ failonerror="true"> |
158 |
- <classpath> |
159 |
- <path refid="compile.classpath"/> |
160 |
- <path location="${ant.core.lib}"/> |
161 |
- </classpath> |
162 |
- </javadoc> |
163 |
-+<!-- |
164 |
- <javadoc packagenames="jakarta.servlet.*" |
165 |
- excludepackagenames="jakarta.servlet.jsp.*" |
166 |
- sourcepath="${tomcat.dist}/src/java" |
167 |
-@@ -2167,8 +2173,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
168 |
- additionalparam="-breakiterator -notimestamp -html5" |
169 |
- source="${compile.release}" |
170 |
- maxmemory="512m" |
171 |
-- failonerror="true" |
172 |
-- failonwarning="true"> |
173 |
-+ failonerror="true"> |
174 |
- <classpath> |
175 |
- <path refid="compile.classpath"/> |
176 |
- <path location="${ant.core.lib}"/> |
177 |
-@@ -2188,8 +2193,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
178 |
- additionalparam="-breakiterator -notimestamp -html5" |
179 |
- source="${compile.release}" |
180 |
- maxmemory="512m" |
181 |
-- failonerror="true" |
182 |
-- failonwarning="true"> |
183 |
-+ failonerror="true"> |
184 |
- <classpath> |
185 |
- <path refid="compile.classpath"/> |
186 |
- <path location="${ant.core.lib}"/> |
187 |
-@@ -2209,13 +2213,13 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
188 |
- additionalparam="-breakiterator -notimestamp -html5" |
189 |
- source="${compile.release}" |
190 |
- maxmemory="512m" |
191 |
-- failonerror="true" |
192 |
-- failonwarning="true"> |
193 |
-+ failonerror="true"> |
194 |
- <classpath> |
195 |
- <path refid="compile.classpath"/> |
196 |
- <path location="${ant.core.lib}"/> |
197 |
- </classpath> |
198 |
- </javadoc> |
199 |
-+--> |
200 |
- <javadoc packagenames="jakarta.websocket.*" |
201 |
- sourcepath="${tomcat.dist}/src/java" |
202 |
- destdir="${tomcat.dist}/webapps/docs/websocketapi" |
203 |
-@@ -2230,8 +2234,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
204 |
- additionalparam="-breakiterator -notimestamp -html5" |
205 |
- source="${compile.release}" |
206 |
- maxmemory="512m" |
207 |
-- failonerror="true" |
208 |
-- failonwarning="true"> |
209 |
-+ failonerror="true"> |
210 |
- <classpath> |
211 |
- <path refid="compile.classpath"/> |
212 |
- <path location="${ant.core.lib}"/> |
213 |
-@@ -2250,8 +2253,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
214 |
- charset="UTF-8" |
215 |
- additionalparam="-breakiterator -notimestamp" |
216 |
- maxmemory="512m" |
217 |
-- failonerror="true" |
218 |
-- failonwarning="true"> |
219 |
-+ failonerror="true"> |
220 |
- <classpath> |
221 |
- <path refid="compile.classpath"/> |
222 |
- <path location="${ant.core.lib}"/> |
223 |
-@@ -2270,21 +2272,24 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
224 |
- additionalparam="-breakiterator -notimestamp -html5" |
225 |
- source="${compile.release}" |
226 |
- maxmemory="512m" |
227 |
-- failonerror="true" |
228 |
-- failonwarning="true"> |
229 |
-+ failonerror="true"> |
230 |
- <classpath> |
231 |
- <path refid="compile.classpath"/> |
232 |
- <path location="${ant.core.lib}"/> |
233 |
- <path location="${osgi-annotations.jar}"/> |
234 |
- </classpath> |
235 |
- <link href="../annotationapi"/> |
236 |
-+<!-- |
237 |
- <link href="../servletapi"/> |
238 |
- <link href="../jspapi"/> |
239 |
- <link href="../elapi"/> |
240 |
-+--> |
241 |
- <link href="../websocketapi"/> |
242 |
- <link href="../jaspicapi"/> |
243 |
-+<!-- |
244 |
- <link href="https://docs.oracle.com/javase/8/docs/api/"/> |
245 |
- <link href="https://javaee.github.io/javaee-spec/javadocs/"/> |
246 |
-+--> |
247 |
- <packageset dir="${tomcat.dist}/src/java/"> |
248 |
- <include name="org/**"/> |
249 |
- <exclude name="org/apache/el/parser/**"/> |
250 |
-@@ -3103,7 +3108,7 @@ skip.installer property in build.properties" /> |
251 |
- </target> |
252 |
- |
253 |
- <target name="download-test-compile" |
254 |
-- description="Download additional components for the tests" > |
255 |
-+ description="Download additional components for the tests"> |
256 |
- |
257 |
- <antcall target="downloadfile"> |
258 |
- <param name="sourcefile" value="${junit.loc}"/> |
259 |
-@@ -3222,7 +3227,7 @@ skip.installer property in build.properties" /> |
260 |
- </target> |
261 |
- |
262 |
- <target name="download-dist" |
263 |
-- description="Download additional components for a distribution" > |
264 |
-+ description="Download additional components for a distribution"> |
265 |
- |
266 |
- <antcall target="downloadfile-2"> |
267 |
- <param name="sourcefile.1" value="${tomcat-native.loc.1}"/> |
268 |
-@@ -3277,13 +3282,13 @@ skip.installer property in build.properties" /> |
269 |
- |
270 |
- <!-- =============== Utility Targets to support downloads ================ --> |
271 |
- |
272 |
-- <target name="setproxy" if="${proxy.use}"> |
273 |
-+ <target name="setproxy" if="${proxy.use}" unless="noget"> |
274 |
- <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" |
275 |
- proxyuser="${proxy.user}" proxypassword="${proxy.password}" /> |
276 |
- <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/> |
277 |
- </target> |
278 |
- |
279 |
-- <target name="testexist"> |
280 |
-+ <target name="testexist" unless="noget"> |
281 |
- <echo message="Testing for ${destfile}"/> |
282 |
- <available file="${destfile}" property="exist"/> |
283 |
- </target> |
284 |
-@@ -3405,7 +3410,7 @@ skip.installer property in build.properties" /> |
285 |
- </sequential> |
286 |
- </macrodef> |
287 |
- |
288 |
-- <target name="downloadgz" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
289 |
-+ <target name="downloadgz" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
290 |
- <!-- Download and extract the package --> |
291 |
- <local name="temp.file"/> |
292 |
- <mkdir dir="${base.path}"/> |
293 |
-@@ -3422,7 +3427,7 @@ skip.installer property in build.properties" /> |
294 |
- <delete file="${temp.file}.tar.gz"/> |
295 |
- </target> |
296 |
- |
297 |
-- <target name="downloadgz-2" unless="exist" if="${execute.download}" depends="testexist"> |
298 |
-+ <target name="downloadgz-2" unless="noget" if="${execute.download}" depends="testexist"> |
299 |
- <!-- Download and extract the package from the two alternative locations --> |
300 |
- <local name="temp.file"/> |
301 |
- <mkdir dir="${base.path}"/> |
302 |
-@@ -3447,7 +3452,7 @@ skip.installer property in build.properties" /> |
303 |
- <delete file="${temp.file}.tar.gz"/> |
304 |
- </target> |
305 |
- |
306 |
-- <target name="downloadzip" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
307 |
-+ <target name="downloadzip" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
308 |
- <!-- Download and extract the package --> |
309 |
- <local name="temp.file"/> |
310 |
- <mkdir dir="${base.path}"/> |
311 |
-@@ -3463,7 +3468,7 @@ skip.installer property in build.properties" /> |
312 |
- <delete file="${temp.file}"/> |
313 |
- </target> |
314 |
- |
315 |
-- <target name="downloadzip-2" unless="exist" if="${execute.download}" depends="testexist"> |
316 |
-+ <target name="downloadzip-2" unless="noget" if="${execute.download}" depends="testexist"> |
317 |
- <!-- Download and extract the package from the two alternative locations --> |
318 |
- <local name="temp.file"/> |
319 |
- <mkdir dir="${base.path}"/> |
320 |
-@@ -3487,7 +3492,7 @@ skip.installer property in build.properties" /> |
321 |
- <delete file="${temp.file}"/> |
322 |
- </target> |
323 |
- |
324 |
-- <target name="downloadfile" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
325 |
-+ <target name="downloadfile" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
326 |
- <!-- Download the file --> |
327 |
- <local name="temp.file"/> |
328 |
- <mkdir dir="${base.path}"/> |
329 |
-@@ -3502,7 +3507,7 @@ skip.installer property in build.properties" /> |
330 |
- <move file="${temp.file}" tofile="${destfile}"/> |
331 |
- </target> |
332 |
- |
333 |
-- <target name="downloadfile-2" unless="exist" if="${execute.download}" depends="testexist"> |
334 |
-+ <target name="downloadfile-2" unless="noget" if="${execute.download}" depends="testexist"> |
335 |
- <!-- Download the file from the two alternative locations --> |
336 |
- <local name="temp.file"/> |
337 |
- <mkdir dir="${base.path}"/> |
338 |
-@@ -3530,7 +3535,7 @@ skip.installer property in build.properties" /> |
339 |
- <move file="${temp.file}" tofile="${destfile}"/> |
340 |
- </target> |
341 |
- |
342 |
-- <target name="trydownload.check" depends="setproxy"> |
343 |
-+ <target name="trydownload.check" depends="setproxy" unless="noget"> |
344 |
- <condition property="trydownload.run"> |
345 |
- <and> |
346 |
- <not> |
347 |
-@@ -3541,7 +3546,7 @@ skip.installer property in build.properties" /> |
348 |
- </condition> |
349 |
- </target> |
350 |
- |
351 |
-- <target name="trydownload" if="trydownload.run" depends="trydownload.check"> |
352 |
-+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget"> |
353 |
- <!-- Downloads a file if not yet downloaded and the source URL is available --> |
354 |
- <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" /> |
355 |
- </target> |
356 |
-@@ -3552,7 +3557,7 @@ skip.installer property in build.properties" /> |
357 |
- |
358 |
- <target name="ide-eclipse" |
359 |
- depends="download-compile, download-test-compile" |
360 |
-- description="Prepares the source tree to be built in Eclipse"> |
361 |
-+ description="Prepares the source tree to be built in Eclipse" unless="noget"> |
362 |
- |
363 |
- <!-- Copy the sample project files into the root directory --> |
364 |
- <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/> |
365 |
-@@ -3570,7 +3575,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho |
366 |
- |
367 |
- <target name="ide-intellij" |
368 |
- depends="download-compile, download-test-compile" |
369 |
-- description="Creates project directory .idea for IntelliJ IDEA"> |
370 |
-+ description="Creates project directory .idea for IntelliJ IDEA" unless="noget"> |
371 |
- |
372 |
- <copy todir="${tomcat.home}/.idea"> |
373 |
- <fileset dir="${tomcat.home}/res/ide-support/idea"/> |
374 |
|
375 |
diff --git a/www-servers/tomcat/files/tomcat-9.0.58-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.58-build.xml.patch |
376 |
deleted file mode 100644 |
377 |
index 51f97e72e0b2..000000000000 |
378 |
--- a/www-servers/tomcat/files/tomcat-9.0.58-build.xml.patch |
379 |
+++ /dev/null |
380 |
@@ -1,321 +0,0 @@ |
381 |
-diff --git a/build.xml b/build.xml |
382 |
-index a51cbfb..43596ac 100644 |
383 |
---- a/build.xml |
384 |
-+++ b/build.xml |
385 |
-@@ -1036,6 +1036,7 @@ |
386 |
- addOSGi="true" /> |
387 |
- |
388 |
- <!-- Servlet Implementation JAR File --> |
389 |
-+<!-- |
390 |
- <jarIt jarfile="${servlet-api.jar}" |
391 |
- filesDir="${tomcat.classes}" |
392 |
- filesId="files.servlet-api" |
393 |
-@@ -1043,21 +1044,23 @@ |
394 |
- notice="${tomcat.manifests}/servlet-api.jar.notice" |
395 |
- license="${tomcat.manifests}/servlet-api.jar.license" |
396 |
- addOSGi="true" /> |
397 |
-- |
398 |
-+--> |
399 |
- <!-- EL Implementation JAR File --> |
400 |
-+<!-- |
401 |
- <jarIt jarfile="${el-api.jar}" |
402 |
- filesDir="${tomcat.classes}" |
403 |
- filesId="files.el-api" |
404 |
- manifest="${tomcat.manifests}/el-api.jar.manifest" |
405 |
- addOSGi="true" /> |
406 |
-- |
407 |
-+--> |
408 |
- <!-- JSP Implementation JAR File --> |
409 |
-+<!-- |
410 |
- <jarIt jarfile="${jsp-api.jar}" |
411 |
- filesDir="${tomcat.classes}" |
412 |
- filesId="files.jsp-api" |
413 |
- manifest="${tomcat.manifests}/jsp-api.jar.manifest" |
414 |
- addOSGi="true" /> |
415 |
-- |
416 |
-+--> |
417 |
- <!-- WebSocket API JAR File --> |
418 |
- <jarIt jarfile="${websocket-api.jar}" |
419 |
- filesDir="${tomcat.classes}" |
420 |
-@@ -1170,10 +1173,10 @@ |
421 |
- addOSGi="true" /> |
422 |
- |
423 |
- <!-- Re-packaged Apache Commons DBCP 2--> |
424 |
-- <jarIt jarfile="${tomcat-dbcp.jar}" |
425 |
-+<!-- <jarIt jarfile="${tomcat-dbcp.jar}" |
426 |
- filesDir="${tomcat.classes}" |
427 |
- filesId="files.tomcat-dbcp" |
428 |
-- addOSGi="true" /> |
429 |
-+ addOSGi="true" /> --> |
430 |
- |
431 |
- <!-- i18n JARs --> |
432 |
- <jar jarfile="${tomcat.build}/lib/tomcat-i18n-cs.jar" |
433 |
-@@ -1410,9 +1413,9 @@ |
434 |
- |
435 |
- <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples" |
436 |
- description="Default. Builds a working Tomcat instance"> |
437 |
-- |
438 |
-+<!-- |
439 |
- <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" /> |
440 |
-- |
441 |
-+--> |
442 |
- <!-- Copy scripts --> |
443 |
- <copy todir="${tomcat.build}/bin"> |
444 |
- <fileset dir="bin"> |
445 |
-@@ -1472,7 +1475,7 @@ |
446 |
- <exclude name="${jdt.jar.filename}"/> |
447 |
- </fileset> |
448 |
- </delete> |
449 |
-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> |
450 |
-+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> --> |
451 |
- |
452 |
- <!-- Add sources for examples --> |
453 |
- <antcall target="examples-sources" /> |
454 |
-@@ -1515,7 +1518,7 @@ |
455 |
- |
456 |
- </target> |
457 |
- |
458 |
-- <target name="build-tomcat-jdbc" depends="package"> |
459 |
-+ <target name="build-tomcat-jdbc" depends="package" unless="noget"> |
460 |
- <!-- build the jdbc-pool jar and source jar--> |
461 |
- <echo message="Building Tomcat JDBC pool libraries"/> |
462 |
- <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
463 |
-@@ -1531,7 +1534,7 @@ |
464 |
- <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/> |
465 |
- </target> |
466 |
- |
467 |
-- <target name="build-tomcat-jdbc-src"> |
468 |
-+ <target name="build-tomcat-jdbc-src" unless="noget"> |
469 |
- <!-- build the jdbc-pool source jar--> |
470 |
- <echo message="Building Tomcat JDBC pool src JAR"/> |
471 |
- <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
472 |
-@@ -1634,9 +1637,11 @@ |
473 |
- |
474 |
- <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" /> |
475 |
- <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" /> |
476 |
-+<!-- |
477 |
- <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}" |
478 |
- failonerror="false"/> |
479 |
- <copy file="${jdt.jar}" todir="${tomcat.embed}" /> |
480 |
-+--> |
481 |
- <copy file="${annotations-api.jar}" todir="${tomcat.embed}" /> |
482 |
- |
483 |
- <!-- Note the meta-inf below will work as long as there is only one JAR |
484 |
-@@ -2139,11 +2144,12 @@ |
485 |
- </copy> |
486 |
- |
487 |
- <!-- Source bundles for native components --> |
488 |
-+<!-- |
489 |
- <copy tofile="${tomcat.dist}/bin/tomcat-native.tar.gz" |
490 |
- file="${tomcat-native.tar.gz}" /> |
491 |
- <copy tofile="${tomcat.dist}/bin/commons-daemon-native.tar.gz" |
492 |
- file="${commons-daemon.native.src.tgz}" /> |
493 |
-- |
494 |
-+--> |
495 |
- <!-- platform README files --> |
496 |
- <echo append="false" file="${tomcat.dist}/bin/x64/README"> |
497 |
- Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
498 |
-@@ -2167,13 +2173,13 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
499 |
- additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}" |
500 |
- source="${compile.source}" |
501 |
- maxmemory="512m" |
502 |
-- failonerror="true" |
503 |
-- failonwarning="true"> |
504 |
-+ failonerror="true"> |
505 |
- <classpath> |
506 |
- <path refid="compile.classpath"/> |
507 |
- <path location="${ant.core.lib}"/> |
508 |
- </classpath> |
509 |
- </javadoc> |
510 |
-+<!-- |
511 |
- <javadoc packagenames="javax.servlet.*" |
512 |
- excludepackagenames="javax.servlet.jsp.*" |
513 |
- sourcepath="${tomcat.dist}/src/java" |
514 |
-@@ -2238,6 +2244,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
515 |
- <path location="${ant.core.lib}"/> |
516 |
- </classpath> |
517 |
- </javadoc> |
518 |
-+--> |
519 |
- <javadoc packagenames="javax.websocket.*" |
520 |
- sourcepath="${tomcat.dist}/src/java" |
521 |
- destdir="${tomcat.dist}/webapps/docs/websocketapi" |
522 |
-@@ -2252,8 +2259,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
523 |
- additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}" |
524 |
- source="${compile.source}" |
525 |
- maxmemory="512m" |
526 |
-- failonerror="true" |
527 |
-- failonwarning="true"> |
528 |
-+ failonerror="true"> |
529 |
- <classpath> |
530 |
- <path refid="compile.classpath"/> |
531 |
- <path location="${ant.core.lib}"/> |
532 |
-@@ -2272,8 +2278,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
533 |
- charset="UTF-8" |
534 |
- additionalparam="-breakiterator -notimestamp" |
535 |
- maxmemory="512m" |
536 |
-- failonerror="true" |
537 |
-- failonwarning="true"> |
538 |
-+ failonerror="true"> |
539 |
- <classpath> |
540 |
- <path refid="compile.classpath"/> |
541 |
- <path location="${ant.core.lib}"/> |
542 |
-@@ -2292,21 +2297,24 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
543 |
- additionalparam="-breakiterator -notimestamp ${java9.javadoc.options}" |
544 |
- source="${compile.source}" |
545 |
- maxmemory="512m" |
546 |
-- failonerror="true" |
547 |
-- failonwarning="true"> |
548 |
-+ failonerror="true"> |
549 |
- <classpath> |
550 |
- <path refid="compile.classpath"/> |
551 |
- <path location="${ant.core.lib}"/> |
552 |
- <path location="${osgi-annotations.jar}"/> |
553 |
- </classpath> |
554 |
- <link href="../annotationapi"/> |
555 |
-+<!-- |
556 |
- <link href="../servletapi"/> |
557 |
- <link href="../jspapi"/> |
558 |
- <link href="../elapi"/> |
559 |
-+--> |
560 |
- <link href="../websocketapi"/> |
561 |
- <link href="../jaspicapi"/> |
562 |
-+<!-- |
563 |
- <link href="https://docs.oracle.com/javase/8/docs/api/"/> |
564 |
- <link href="https://javaee.github.io/javaee-spec/javadocs/"/> |
565 |
-+--> |
566 |
- <packageset dir="${tomcat.dist}/src/java/"> |
567 |
- <include name="org/**"/> |
568 |
- <exclude name="org/apache/el/parser/**"/> |
569 |
-@@ -3071,7 +3079,7 @@ skip.installer property in build.properties" /> |
570 |
- |
571 |
- <target name="download-compile" |
572 |
- description="Download components necessary to compile" |
573 |
-- depends="setup-bnd"> |
574 |
-+ depends="setup-bnd" unless="noget"> |
575 |
- |
576 |
- <!-- Download Commons Daemon --> |
577 |
- <antcall target="downloadgz-2"> |
578 |
-@@ -3115,7 +3123,7 @@ skip.installer property in build.properties" /> |
579 |
- </target> |
580 |
- |
581 |
- <target name="download-test-compile" |
582 |
-- description="Download additional components for the tests" > |
583 |
-+ description="Download additional components for the tests" unless="noget"> |
584 |
- |
585 |
- <antcall target="downloadfile"> |
586 |
- <param name="sourcefile" value="${junit.loc}"/> |
587 |
-@@ -3234,7 +3242,7 @@ skip.installer property in build.properties" /> |
588 |
- </target> |
589 |
- |
590 |
- <target name="download-dist" |
591 |
-- description="Download additional components for a distribution" > |
592 |
-+ description="Download additional components for a distribution" unless="noget"> |
593 |
- |
594 |
- <antcall target="downloadfile-2"> |
595 |
- <param name="sourcefile.1" value="${tomcat-native.loc.1}"/> |
596 |
-@@ -3289,13 +3297,13 @@ skip.installer property in build.properties" /> |
597 |
- |
598 |
- <!-- =============== Utility Targets to support downloads ================ --> |
599 |
- |
600 |
-- <target name="setproxy" if="${proxy.use}"> |
601 |
-+ <target name="setproxy" if="${proxy.use}" unless="noget"> |
602 |
- <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" |
603 |
- proxyuser="${proxy.user}" proxypassword="${proxy.password}" /> |
604 |
- <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/> |
605 |
- </target> |
606 |
- |
607 |
-- <target name="testexist"> |
608 |
-+ <target name="testexist" unless="noget"> |
609 |
- <echo message="Testing for ${destfile}"/> |
610 |
- <available file="${destfile}" property="exist"/> |
611 |
- </target> |
612 |
-@@ -3417,7 +3425,7 @@ skip.installer property in build.properties" /> |
613 |
- </sequential> |
614 |
- </macrodef> |
615 |
- |
616 |
-- <target name="downloadgz" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
617 |
-+ <target name="downloadgz" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
618 |
- <!-- Download and extract the package --> |
619 |
- <local name="temp.file"/> |
620 |
- <mkdir dir="${base.path}"/> |
621 |
-@@ -3434,7 +3442,7 @@ skip.installer property in build.properties" /> |
622 |
- <delete file="${temp.file}.tar.gz"/> |
623 |
- </target> |
624 |
- |
625 |
-- <target name="downloadgz-2" unless="exist" if="${execute.download}" depends="testexist"> |
626 |
-+ <target name="downloadgz-2" unless="noget" if="${execute.download}" depends="testexist"> |
627 |
- <!-- Download and extract the package from the two alternative locations --> |
628 |
- <local name="temp.file"/> |
629 |
- <mkdir dir="${base.path}"/> |
630 |
-@@ -3459,7 +3467,7 @@ skip.installer property in build.properties" /> |
631 |
- <delete file="${temp.file}.tar.gz"/> |
632 |
- </target> |
633 |
- |
634 |
-- <target name="downloadzip" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
635 |
-+ <target name="downloadzip" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
636 |
- <!-- Download and extract the package --> |
637 |
- <local name="temp.file"/> |
638 |
- <mkdir dir="${base.path}"/> |
639 |
-@@ -3475,7 +3483,7 @@ skip.installer property in build.properties" /> |
640 |
- <delete file="${temp.file}"/> |
641 |
- </target> |
642 |
- |
643 |
-- <target name="downloadzip-2" unless="exist" if="${execute.download}" depends="testexist"> |
644 |
-+ <target name="downloadzip-2" unless="noget" if="${execute.download}" depends="testexist"> |
645 |
- <!-- Download and extract the package from the two alternative locations --> |
646 |
- <local name="temp.file"/> |
647 |
- <mkdir dir="${base.path}"/> |
648 |
-@@ -3499,7 +3507,7 @@ skip.installer property in build.properties" /> |
649 |
- <delete file="${temp.file}"/> |
650 |
- </target> |
651 |
- |
652 |
-- <target name="downloadfile" unless="exist" if="${execute.download}" depends="testexist,setproxy"> |
653 |
-+ <target name="downloadfile" unless="noget" if="${execute.download}" depends="testexist,setproxy"> |
654 |
- <!-- Download the file --> |
655 |
- <local name="temp.file"/> |
656 |
- <mkdir dir="${base.path}"/> |
657 |
-@@ -3514,7 +3522,7 @@ skip.installer property in build.properties" /> |
658 |
- <move file="${temp.file}" tofile="${destfile}"/> |
659 |
- </target> |
660 |
- |
661 |
-- <target name="downloadfile-2" unless="exist" if="${execute.download}" depends="testexist"> |
662 |
-+ <target name="downloadfile-2" unless="noget" if="${execute.download}" depends="testexist"> |
663 |
- <!-- Download the file from the two alternative locations --> |
664 |
- <local name="temp.file"/> |
665 |
- <mkdir dir="${base.path}"/> |
666 |
-@@ -3542,7 +3550,7 @@ skip.installer property in build.properties" /> |
667 |
- <move file="${temp.file}" tofile="${destfile}"/> |
668 |
- </target> |
669 |
- |
670 |
-- <target name="trydownload.check" depends="setproxy"> |
671 |
-+ <target name="trydownload.check" depends="setproxy" unless="noget"> |
672 |
- <condition property="trydownload.run"> |
673 |
- <and> |
674 |
- <not> |
675 |
-@@ -3553,7 +3561,7 @@ skip.installer property in build.properties" /> |
676 |
- </condition> |
677 |
- </target> |
678 |
- |
679 |
-- <target name="trydownload" if="trydownload.run" depends="trydownload.check"> |
680 |
-+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget"> |
681 |
- <!-- Downloads a file if not yet downloaded and the source URL is available --> |
682 |
- <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" /> |
683 |
- </target> |
684 |
-@@ -3564,7 +3572,7 @@ skip.installer property in build.properties" /> |
685 |
- |
686 |
- <target name="ide-eclipse" |
687 |
- depends="download-compile, download-test-compile" |
688 |
-- description="Prepares the source tree to be built in Eclipse"> |
689 |
-+ description="Prepares the source tree to be built in Eclipse" unless="noget"> |
690 |
- |
691 |
- <!-- Copy the sample project files into the root directory --> |
692 |
- <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/> |
693 |
-@@ -3582,7 +3590,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho |
694 |
- |
695 |
- <target name="ide-intellij" |
696 |
- depends="download-compile, download-test-compile" |
697 |
-- description="Creates project directory .idea for IntelliJ IDEA"> |
698 |
-+ description="Creates project directory .idea for IntelliJ IDEA" unless="noget"> |
699 |
- |
700 |
- <copy todir="${tomcat.home}/.idea"> |
701 |
- <fileset dir="${tomcat.home}/res/ide-support/idea"/> |