Author: markt
Date: Mon Dec 5 16:15:58 2022
New Revision: 1905770
URL: http://svn.apache.org/viewvc?rev=1905770&view=rev
Log:
Tomcat 11.0 support
Modified:
tomcat/site/trunk/build.properties.default
tomcat/site/trunk/build.xml
Modified: tomcat/site/trunk/build.properties.default
URL:
http://svn.apache.org/viewvc/tomcat/site/trunk/build.properties.default?rev=1905770&r1=1905769&r2=1905770&view=diff
==============================================================================
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Mon Dec 5 16:15:58 2022
@@ -40,6 +40,7 @@ tomcat8.5=8.5.84
tomcat9.0=9.0.70
tomcat10.0=10.0.27
tomcat10.1=10.1.2
+tomcat11.0=11.0.0-M1
# ----- Download destination -----
tomcat-site-docs.home=${base.path}/tomcat-site-docs/
@@ -56,3 +57,6 @@ tomcat10.0.home=${tomcat-site-docs.home}
tomcat10.1.loc=${tomcat.loc}/tomcat-10/v${tomcat10.1}/bin/apache-tomcat-${tomcat10.1}-fulldocs.tar.gz
tomcat10.1.home=${tomcat-site-docs.home}/${tomcat10.1}
+
+tomcat11.0.loc=${tomcat.loc}/tomcat-11/v${tomcat11.0}/bin/apache-tomcat-${tomcat11.0}-fulldocs.tar.gz
+tomcat11.0.home=${tomcat-site-docs.home}/${tomcat11.0}
Modified: tomcat/site/trunk/build.xml
URL:
http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1905770&r1=1905769&r2=1905770&view=diff
==============================================================================
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Mon Dec 5 16:15:58 2022
@@ -179,6 +179,28 @@
</copy>
</target>
+ <target name="release-11.0"
+ depends="docs"
+ description="Used after a release to update the docs for Tomcat
11.0">
+
+ <!-- Download the latest version -->
+ <antcall target="downloadgz">
+ <param name="sourcefile" value="${tomcat11.0.loc}"/>
+ <param name="destfile"
value="${tomcat11.0.home}/tomcat-11.0-doc/index.html"/>
+ <param name="destdir" value="${tomcat11.0.home}"/>
+ </antcall>
+
+ <!-- Delete the old version -->
+ <delete dir="${docs.dest}/tomcat-11.0-doc"/>
+
+ <!-- Copy the latest version -->
+ <copy todir="${docs.dest}/tomcat-11.0-doc" >
+ <fileset dir="${tomcat11.0.home}/tomcat-11.0-doc" >
+ <exclude name="/WEB-INF/**" />
+ </fileset>
+ </copy>
+ </target>
+
<target name="release-native"
depends="docs"
description="Used after a 2.0.x release to update the docs for
Tomcat Native">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]