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.

bindownload.xml 6.2 kB

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