You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

srcdownload.xml 6.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <document>
  17. <properties>
  18. <title>Source Distributions</title>
  19. <base/>
  20. </properties>
  21. <body>
  22. <section name="Apache Ant&amp;#x2122;">
  23. <p>Apache Ant is a Java library and command-line tool that help
  24. building software.</p>
  25. </section>
  26. <section name="Downloading Apache Ant">
  27. <p>Use the links below to download a source distribution of Ant from
  28. one of our mirrors. It is good practice to
  29. <a href="[location]#Verify Releases">verify the integrity</a>
  30. of the distribution files, especially if you are using one of our
  31. mirror sites. In order to do this you must use the signatures from
  32. our <a href="http://www.apache.org/dist/ant/">main distribution
  33. directory</a>.</p>
  34. <p>Ant is distributed as <code>zip</code>, <code>tar.gz</code> and
  35. <code>tar.bz2</code> archives - the contents are the same. Please
  36. note that the <code>tar.*</code> archives contain file names longer
  37. than 100 characters and have been created using GNU tar extensions.
  38. Thus they must be untarred with a GNU compatible version of
  39. <code>tar</code>.</p>
  40. <p>If you do not see the file you need in the links below, please see
  41. the <a href="http://www.apache.org/dist/ant/">master distribution
  42. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  43. </section>
  44. <section name="Mirror">
  45. <p>You are currently using <b>[preferred]</b>. If you encounter a
  46. problem with this mirror, please select another mirror. If all
  47. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  48. the mirrors list) that should be available.</p>
  49. <form action="[location]" method="get" id="SelectMirror">
  50. Other mirrors: <select name="Preferred">
  51. [if-any http]
  52. [for http]<option value="[http]">[http]</option>[end]
  53. [end]
  54. [if-any ftp]
  55. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  56. [end]
  57. [if-any backup]
  58. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  59. [end]
  60. </select>
  61. <input type="submit" value="Change" />
  62. </form>
  63. </section>
  64. <section name="Current Release of Apache Ant">
  65. <p>Currently, Apache Ant 1.8.2 is the best available version, see the
  66. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  67. <div class="warning">
  68. <div class="label">Note</div>
  69. <div class="content">Ant 1.8.2 was released on 27-December-2010 and
  70. may not be available on all mirrors for a few days.</div>
  71. </div>
  72. <br></br>
  73. <div class="warning">
  74. <div class="label">Tar files may require gnu tar to extract</div>
  75. <div class="content">Tar files in the distribution contain long file names, and may
  76. require gnu tar to do the extraction.</div>
  77. </div>
  78. <ul>
  79. <li><code>.zip</code> archive:
  80. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.zip">apache-ant-1.8.2-src.zip</a>
  81. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.asc">PGP</a>]
  82. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha1">SHA1</a>]
  83. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha512">SHA512</a>]
  84. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.md5">MD5</a>]</li>
  85. <li><code>.tar.gz</code> archive:
  86. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.gz">apache-ant-1.8.2-src.tar.gz</a>
  87. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.asc">PGP</a>]
  88. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha1">SHA1</a>]
  89. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha512">SHA512</a>]
  90. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.md5">MD5</a>]</li>
  91. <li><code>.tar.bz2</code> archive:
  92. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.bz2">apache-ant-1.8.2-src.tar.bz2</a>
  93. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.asc">PGP</a>]
  94. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha1">SHA1</a>]
  95. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha512">SHA512</a>]
  96. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.md5">MD5</a>]</li>
  97. </ul>
  98. </section>
  99. <section name="Old Ant Releases">
  100. <p>Older releases of Ant can be found <a
  101. href="http://archive.apache.org/dist/ant/source/">here</a>. We highly
  102. recommend to not use those releases but upgrade to Ant's <a
  103. href="[location]#Current Release of Ant">latest</a> release.</p>
  104. </section>
  105. <section name="Verify Releases">
  106. <p>It is essential that you verify the integrity of the downloaded
  107. files using the PGP signature or the SHA1, SHA512 or MD5 checksums. The
  108. checksums are not as strong indicators as the PGP signature.</p>
  109. <p>The PGP signatures can be verified using PGP or GPG. First
  110. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  111. as well as the <code>asc</code> signature file for the particular
  112. distribution. Make sure you get these files from the <a
  113. href="http://www.apache.org/dist/ant/">main distribution
  114. directory</a>, rather than from a mirror. Then verify the signatures
  115. using</p>
  116. <p><code>
  117. % pgpk -a KEYS<br />
  118. % pgpv apache-ant-1.8.2-src.tar.gz.asc<br />
  119. </code>
  120. <em>or</em><br />
  121. <code>
  122. % pgp -ka KEYS<br />
  123. % pgp apache-ant-1.8.2-src.tar.gz.asc<br />
  124. </code>
  125. <em>or</em><br />
  126. <code>
  127. % gpg --import KEYS<br />
  128. % gpg --verify apache-ant-1.8.2-src.tar.gz.asc
  129. </code></p>
  130. <p>Alternatively, you can verify the checksums on the files. Unix
  131. programs called <code>md5</code>/<code>sha1</code>/<code>sha512</code> or
  132. <code>md5sum</code>/<code>sha1sum</code>/<code>sha512sum</code> are included in many unix
  133. distributions. <code>*sum</code> is also available as part of <a
  134. href="http://www.gnu.org/software/textutils/textutils.html">GNU
  135. Textutils</a>. Windows users can get binary md5 programs from <a
  136. href="http://www.fourmilab.ch/md5/">here</a>, <a
  137. href="http://www.pc-tools.net/win32/freeware/console/">here</a>. <a
  138. href="http://www.slavasoft.com/fsum/">fsum</a> supports MD5 and
  139. SHA1.</p>
  140. <p>We highly recommend to verify the PGP signature, though.</p>
  141. </section>
  142. </body>
  143. </document>