ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject [VOTE] Release Manuals of Last Five Ant Releases
Date Mon, 19 Jul 2010 14:21:47 GMT
Hi,

I don't really think this requires a vote since I've just repackaged
existing distributions (see buildfile at the end of the mail for
details), but it won't hurt.

In <http://people.apache.org/~bodewig/manual/> there are ZIP and
tar.gz/bz2 files containing the manuals of the releases 1.6.5 to 1.8.1.
The contents are similar to the manual tarballs that will be created by
the distribution target in trunk's build.xml.

I'd like to release those to the public, so please cast your vote:

[ ] +1 release them
[ ]  0 don't care
[ ] -1 no, don't release them

The plan is to create a manual directory inside Ant's distribution area
right next to the source and binaries directories and copy over all
files from <http://people.apache.org/~bodewig/manual/>.  In addition I'd
create -current symlinks just like we have for source and binaries.

Once the mirrors have picked up all files I'd delete the archives for
1.6.5 to 1.8.0 so they remain on archives.apache.org only.

Furthermore I'll add a new download page for the manual and link to it
from the cover page ("if you are looking for an older version ...") and
the API docs page ("if you are looking for javadocs ...") of the Ant
website.

Stefan

PS: this is how I created the files, most of it stolen from trunk's
build.xml.

<project>
  <mkdir dir="work"/>
  <macrodef name="checksums-mvn" description="only md5 and sha1 are needed for the maven
directory structure">
    <element name="resources" implicit="true"/>
    <sequential>
      <checksum algorithm="md5">
        <resources/>
      </checksum>
      <checksum algorithm="sha1">
        <resources/>
      </checksum>
    </sequential>
  </macrodef>
  <macrodef name="checksums">
    <element name="resources" implicit="true"/>
    <sequential>
      <checksums-mvn>
        <resources/>
      </checksums-mvn>
      <checksum fileext=".sha512" algorithm="sha-512">
        <resources/>
      </checksum>
    </sequential>
  </macrodef>
  <macrodef name="get-and-zip">
    <attribute name="version"/>
    <sequential>
      <get src="http://archive.apache.org/dist/ant/binaries/apache-ant-@{version}-bin.tar.bz2"
           dest="work"/>
      <untar src="work/apache-ant-@{version}-bin.tar.bz2" dest="work"
             compression="bzip2"/>
      <mkdir dir="work/manual"/>
      <zip destfile="work/manual/apache-ant-@{version}-manual.zip">
        <zipfileset dir="work/apache-ant-@{version}/docs/manual"
                    prefix="apache-ant-@{version}"/>
        <zipfileset file="work/apache-ant-@{version}/NOTICE"
                    prefix="apache-ant-@{version}"/>
      </zip>
      <tar longfile="gnu"
           destfile="work/manual/apache-ant-@{version}-manual.tar">
        <tarfileset dir="work/apache-ant-@{version}/docs/manual"
                    prefix="apache-ant-@{version}"/>
        <tarfileset file="work/apache-ant-@{version}/NOTICE"
                    prefix="apache-ant-@{version}"/>
      </tar>
      <gzip destfile="work/manual/apache-ant-@{version}-manual.tar.gz"
            src="work/manual/apache-ant-@{version}-manual.tar"/>
      <bzip2 destfile="work/manual/apache-ant-@{version}-manual.tar.bz2"
             src="work/manual/apache-ant-@{version}-manual.tar"/>
      <delete file="work/manual/apache-ant-@{version}-manual.tar"/>
    </sequential>
  </macrodef>
  <get-and-zip version="1.6.5"/>
  <get-and-zip version="1.7.0"/>
  <get-and-zip version="1.7.1"/>
  <get-and-zip version="1.8.0"/>
  <get-and-zip version="1.8.1"/>
  <checksums>
    <fileset dir="work/manual/">
      <exclude name="**/*.asc"/>
      <exclude name="**/*.md5"/>
      <exclude name="**/*.sha1"/>
      <exclude name="**/*.sha512"/>
    </fileset>
  </checksums>
</project>

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


Mime
View raw message