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.5 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <title>Downloading Ant - Binary Distribution</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.5.3 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">An updated version of Ant 1.5.3 has been released on 17-April-2003 and may not be available on all
  54. mirrors for a few days. This updated version, apache-ant-1.5.3-1, is identical to the original 1.5.3 build apart from
  55. the removal of a spurious junit.jar file.
  56. </div>
  57. </div>
  58. <ul>
  59. <li><code>.zip</code> archive:
  60. <a href="[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.zip">apache-ant-1.5.3-1-bin.zip</a>
  61. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.zip.asc">PGP</a>]
  62. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.zip.md5">MD5</a>]</li>
  63. <li><code>.tar.gz</code> archive:
  64. <a href="[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.tar.gz">apache-ant-1.5.3-1-bin.tar.gz</a>
  65. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.gz.asc">PGP</a>]
  66. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.gz.md5">MD5</a>]</li>
  67. <li><code>.tar.bz2</code> archive:
  68. <a href="[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2">apache-ant-1.5.3-1-bin.tar.bz2</a>
  69. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2.asc">PGP</a>]
  70. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2.md5">MD5</a>]</li>
  71. </ul>
  72. </section>
  73. <section name="Nightly Builds">
  74. <p>If you wish to use the latest Ant features, you can try downloading a
  75. <a href="http://cvs.apache.org/builds/ant/nightly/">nightly build</a>.
  76. </p>
  77. </section>
  78. <section name="Old Ant Releases">
  79. <p>Older releases of Ant can be found <a
  80. href="http://ant.apache.org/old-releases/">here</a>. Those
  81. releases are only provided as <code>zip</code> archives that can be
  82. extracted by <code>jar xf </code><em>archive.zip</em> - we highly
  83. recommend to not use those releases but upgrade to Ant's <a
  84. href="[location]#Current Release of Ant">latest</a> release.</p>
  85. </section>
  86. <section name="Verify Releases">
  87. <p>It is essential that you verify the integrity of the downloaded
  88. files using the PGP or MD5 signatures.</p>
  89. <p>The PGP signatures can be verified using PGP or GPG. First
  90. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  91. as well as the <code>asc</code> signature file for the particular
  92. distribution. Make sure you get these files from the <a
  93. href="http://www.apache.org/dist/ant/">main distribution
  94. directory</a>, rather than from a mirror. Then verify the signatures
  95. using</p>
  96. <p><code>
  97. % pgpk -a KEYS<br />
  98. % pgpv apache-ant-1.5.3-1-bin.tar.gz.asc<br />
  99. </code>
  100. <em>or</em><br />
  101. <code>
  102. % pgp -ka KEYS<br />
  103. % pgp apache-ant-1.5.3-1-bin.tar.gz.asc<br />
  104. </code>
  105. <em>or</em><br />
  106. <code>
  107. % gpg --import KEYS<br />
  108. % gpg --verify apache-ant-1.5.3-1-bin.tar.gz.asc
  109. </code></p>
  110. <p>Alternatively, you can verify the MD5 signature on the files. A
  111. unix program called <code>md5</code> or <code>md5sum</code> is
  112. included in many unix distributions. It is also available as part of
  113. <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  114. Textutils</a>. Windows users can get binary md5 programs from <a
  115. href="http://www.fourmilab.ch/md5/">here</a>, <a
  116. href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or
  117. <a href="http://www.slavasoft.com/fsum/">here</a>.</p>
  118. <p>We highly recommend to verify the PGP signature, though.</p>
  119. </section>
  120. </body>
  121. </document>