ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r964076 - in /ant/core/trunk: ReleaseInstructions build.xml
Date Wed, 14 Jul 2010 15:06:49 GMT
Author: bodewig
Date: Wed Jul 14 15:06:49 2010
New Revision: 964076

URL: http://svn.apache.org/viewvc?rev=964076&view=rev
Log:
create distribution artifacts for the manual

Modified:
    ant/core/trunk/ReleaseInstructions
    ant/core/trunk/build.xml

Modified: ant/core/trunk/ReleaseInstructions
URL: http://svn.apache.org/viewvc/ant/core/trunk/ReleaseInstructions?rev=964076&r1=964075&r2=964076&view=diff
==============================================================================
--- ant/core/trunk/ReleaseInstructions (original)
+++ ant/core/trunk/ReleaseInstructions Wed Jul 14 15:06:49 2010
@@ -230,7 +230,7 @@ Note: This document was updated in the c
     * upload the new release files to
 
       from distribution
-      to   /www/www.apache.org/dist/ant/[source|binaries].
+      to   /www/www.apache.org/dist/ant/[source|binaries|manual].
 
       
     * upload the maven artifacts located under java-repository/org/apache/ant
@@ -280,7 +280,7 @@ Note: This document was updated in the c
 21. Clean up.
 
     * remove the remaining files of the previous release and betas from
-      /www/www.apache.org/dist/ant/[source|binaries].
+      /www/www.apache.org/dist/ant/[source|binaries|manual].
       This includes the old release notes.
 
     (+)

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=964076&r1=964075&r2=964076&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Jul 14 15:06:49 2010
@@ -148,6 +148,7 @@
   <property name="dist.base" value="distribution"/>
   <property name="dist.base.source" value="${dist.base}/source"/>
   <property name="dist.base.binaries" value="${dist.base}/binaries"/>
+  <property name="dist.base.manual" value="${dist.base}/manual"/>
   <property name="dist.dir" value="dist"/>
   <property name="dist.bin" value="${dist.dir}/bin"/>
   <property name="dist.lib" value="${dist.dir}/lib"/>
@@ -1080,6 +1081,7 @@
     <mkdir dir="${dist.base}"/>
     <mkdir dir="${dist.base.source}"/>
     <mkdir dir="${dist.base.binaries}"/>
+    <mkdir dir="${dist.base.manual}"/>
     <mkdir dir="${java-repository.dir}"/>
     <antcall inheritAll="false" target="internal_dist">
       <param name="dist.dir" value="${dist.name}"/>
@@ -1142,7 +1144,23 @@
     <checksums-mvn>
       <fileset dir="${java-repository.dir}" includes="**/*${project.version}.jar"/>
       <fileset dir="${java-repository.dir}" includes="**/*${project.version}.pom"/>
-   </checksums-mvn>
+    </checksums-mvn>
+
+    <zip destfile="${dist.base.manual}/${dist.name}-manual.zip">
+      <zipfileset dir="${dist.name}/docs/manual" prefix="${dist.name}"/>
+      <zipfileset file="NOTICE" prefix="${dist.name}"/>
+    </zip>
+    <tar longfile="gnu"
+         destfile="${dist.base.manual}/${dist.name}-manual.tar">
+      <tarfileset dir="${dist.name}/docs/manual" prefix="${dist.name}"/>
+      <tarfileset file="NOTICE" prefix="${dist.name}"/>
+    </tar>
+    <gzip destfile="${dist.base.manual}/${dist.name}-manual.tar.gz"
+          src="${dist.base.manual}/${dist.name}-manual.tar"/>
+    <bzip2 destfile="${dist.base.manual}/${dist.name}-manual.tar.bz2"
+           src="${dist.base.manual}/${dist.name}-manual.tar"/>
+    <delete file="${dist.base.manual}/${dist.name}-manual.tar"/>
+
     <delete dir="${dist.name}"/>
     <checksums>
       <fileset dir="${dist.base.binaries}/">
@@ -1151,6 +1169,12 @@
         <exclude name="**/*.sha1"/>
         <exclude name="**/*.sha512"/>
       </fileset>
+      <fileset dir="${dist.base.manual}/">
+        <exclude name="**/*.asc"/>
+        <exclude name="**/*.md5"/>
+        <exclude name="**/*.sha1"/>
+        <exclude name="**/*.sha512"/>
+      </fileset>
     </checksums>
 
     <antcall inheritAll="false" target="src-dist">



Mime
View raw message