Author: markt Date: Mon Aug 5 18:07:14 2013 New Revision: 1510630 URL: http://svn.apache.org/r1510630 Log: Add the plumbing to add the Tomcat 8 docs to the web-site
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=1510630&r1=1510629&r2=1510630&view=diff ============================================================================== --- tomcat/site/trunk/build.properties.default (original) +++ tomcat/site/trunk/build.properties.default Mon Aug 5 18:07:14 2013 @@ -38,6 +38,7 @@ tomcat.loc=http://www.apache.org/dist/to # ----- Tomcat versions ----- tomcat60=6.0.36 tomcat70=7.0.42 +tomcat80=8.0.0-RC1 # ----- Download destination ----- @@ -49,3 +50,6 @@ tomcat60.home=${tomcat-site-docs.home}/$ tomcat70.loc=${tomcat.loc}/tomcat-7/v${tomcat70}/bin/apache-tomcat-${tomcat70}-fulldocs.tar.gz tomcat70.home=${tomcat-site-docs.home}/${tomcat70} + +tomcat80.loc=${tomcat.loc}/tomcat-8/v${tomcat80}/bin/apache-tomcat-${tomcat80}-fulldocs.tar.gz +tomcat80.home=${tomcat-site-docs.home}/${tomcat80} Modified: tomcat/site/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/site/trunk/build.xml?rev=1510630&r1=1510629&r2=1510630&view=diff ============================================================================== --- tomcat/site/trunk/build.xml (original) +++ tomcat/site/trunk/build.xml Mon Aug 5 18:07:14 2013 @@ -130,6 +130,28 @@ </copy> </target> + <target name="release-8" + depends="docs" + description="Used after a release to update the docs for Tomcat 8.0"> + + <!-- Download the latest version --> + <antcall target="downloadgz"> + <param name="sourcefile" value="${tomcat80.loc}"/> + <param name="destfile" value="${tomcat80.home}/tomcat-8.0-doc/index.html"/> + <param name="destdir" value="${tomcat80.home}"/> + </antcall> + + <!-- Delete the old version --> + <delete dir="${docs.dest}/tomcat-8.0-doc"/> + + <!-- Copy the latest version --> + <copy todir="${docs.dest}/tomcat-8.0-doc" > + <fileset dir="${tomcat80.home}/tomcat-8.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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org