Author: markt
Date: Fri Mar 25 21:33:29 2016
New Revision: 1736667
URL: http://svn.apache.org/viewvc?rev=1736667&view=rev
Log:
Add target for uploading 8.5.x docs
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=1736667&r1=1736666&r2=1736667&view=diff
==============================================================================
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Fri Mar 25 21:33:29 2016
@@ -39,6 +39,7 @@ tomcat.loc=http://www.apache.org/dist/to
tomcat60=6.0.45
tomcat70=7.0.68
tomcat80=8.0.33
+tomcat85=8.5.0
tomcat90=9.0.0.M4
# ----- Download destination -----
@@ -54,5 +55,8 @@ tomcat70.home=${tomcat-site-docs.home}/$
tomcat80.loc=${tomcat.loc}/tomcat-8/v${tomcat80}/bin/apache-tomcat-${tomcat80}-fulldocs.tar.gz
tomcat80.home=${tomcat-site-docs.home}/${tomcat80}
+tomcat85.loc=${tomcat.loc}/tomcat-8/v${tomcat85}/bin/apache-tomcat-${tomcat85}-fulldocs.tar.gz
+tomcat85.home=${tomcat-site-docs.home}/${tomcat85}
+
tomcat90.loc=${tomcat.loc}/tomcat-9/v${tomcat90}/bin/apache-tomcat-${tomcat90}-fulldocs.tar.gz
tomcat90.home=${tomcat-site-docs.home}/${tomcat90}
Modified: tomcat/site/trunk/build.xml
URL:
http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1736667&r1=1736666&r2=1736667&view=diff
==============================================================================
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Fri Mar 25 21:33:29 2016
@@ -152,6 +152,28 @@
</copy>
</target>
+ <target name="release-85"
+ depends="docs"
+ description="Used after a release to update the docs for Tomcat 8.5">
+
+ <!-- Download the latest version -->
+ <antcall target="downloadgz">
+ <param name="sourcefile" value="${tomcat85.loc}"/>
+ <param name="destfile"
value="${tomcat85.home}/tomcat-8.5-doc/index.html"/>
+ <param name="destdir" value="${tomcat85.home}"/>
+ </antcall>
+
+ <!-- Delete the old version -->
+ <delete dir="${docs.dest}/tomcat-8.5-doc"/>
+
+ <!-- Copy the latest version -->
+ <copy todir="${docs.dest}/tomcat-8.5-doc" >
+ <fileset dir="${tomcat85.home}/tomcat-8.5-doc" >
+ <exclude name="/WEB-INF/**" />
+ </fileset>
+ </copy>
+ </target>
+
<target name="release-9"
depends="docs"
description="Used after a release to update the docs for Tomcat 9.0">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]