You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/11/19 12:02:15 UTC

svn commit: r1715156 - in /tomcat/site/trunk: build.properties.default build.xml

Author: markt
Date: Thu Nov 19 11:02:15 2015
New Revision: 1715156

URL: http://svn.apache.org/viewvc?rev=1715156&view=rev
Log:
Add the Tomcat 9 docs to the build

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=1715156&r1=1715155&r2=1715156&view=diff
==============================================================================
--- tomcat/site/trunk/build.properties.default (original)
+++ tomcat/site/trunk/build.properties.default Thu Nov 19 11:02:15 2015
@@ -39,7 +39,7 @@ tomcat.loc=http://www.apache.org/dist/to
 tomcat60=6.0.43
 tomcat70=7.0.65
 tomcat80=8.0.28
-
+tomcat90=9.0.0.M1
 
 # ----- Download destination -----
 tomcat-site-docs.home=${base.path}/tomcat-site-docs/
@@ -53,3 +53,6 @@ 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}
+
+tomcat90.loc=${tomcat.loc}/tomcat-9/v${tomcat90}/bin/apache-tomcat-${tomcat90}-fulldocs.tar.gz 
+tomcat90.home=${tomcat-site-docs.home}/${tomcat90}
\ No newline at end of file

Modified: tomcat/site/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1715156&r1=1715155&r2=1715156&view=diff
==============================================================================
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Thu Nov 19 11:02:15 2015
@@ -152,6 +152,28 @@
     </copy>
   </target>
 
+  <target name="release-9"
+          depends="docs"
+          description="Used after a release to update the docs for Tomcat 9.0">
+
+    <!-- Download the latest version -->
+    <antcall target="downloadgz">
+      <param name="sourcefile" value="${tomcat90.loc}"/>
+      <param name="destfile" value="${tomcat90.home}/tomcat-9.0-doc/index.html"/>
+      <param name="destdir" value="${tomcat90.home}"/>
+    </antcall>
+
+    <!-- Delete the old version -->
+    <delete dir="${docs.dest}/tomcat-9.0-doc"/>
+
+    <!-- Copy the latest version -->
+    <copy todir="${docs.dest}/tomcat-9.0-doc" >
+      <fileset dir="${tomcat90.home}/tomcat-9.0-doc" >
+        <exclude name="/WEB-INF/**" />
+      </fileset>
+    </copy>
+  </target>
+
   <target name="release-native"
           depends="docs"
           description="Used after a release to update the docs for Tomcat Native">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org