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 5.3 kB

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