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.

download.xml 3.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <title>Downloading Ant</title>
  5. </properties>
  6. <body>
  7. <section name="Downloading Ant">
  8. <p>Use the links below to download the Ant from one of our mirrors.
  9. You <strong>must</strong> <a href="#Verify Releases">verify the integrity</a> of
  10. the downloaded files using signatures downloaded from our main
  11. distribution directory.</p>
  12. <p>If you do not see the file you need in the links below, please see
  13. the <a href="http://www.apache.org/dist/ant/">master distribution
  14. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  15. </section>
  16. <section name="Mirror">
  17. <p>You are currently using <b>[preferred]</b>. If you encounter a
  18. problem with this mirror, please select another mirror. If all
  19. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  20. the mirrors list) that should be available.</p>
  21. <form action="[location]" method="get" id="SelectMirror">
  22. Other mirrors: <select name="Preferred">
  23. [if-any http]
  24. [for http]<option value="[http]">[http]</option>[end]
  25. [end]
  26. [if-any ftp]
  27. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  28. [end]
  29. [if-any backup]
  30. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  31. [end]
  32. </select>
  33. <input type="submit" value="Change" />
  34. </form>
  35. </section>
  36. <section name="Current Release of Ant">
  37. <p>Currently, Apache Ant 1.5.1 is the best available version.</p>
  38. <ul>
  39. <li>Source: <a
  40. href="[preferred]/ant/ant-current-src.zip">ant-current-src.zip</a> [<a
  41. href="http://www.apache.org/dist/ant/ant-current-src.zip.asc">PGP</a>]
  42. [<a
  43. href="http://www.apache.org/dist/ant/ant-current-src.zip.md5">MD5</a>]</li>
  44. <li>Binaries: <a
  45. href="[preferred]/ant/ant-current-bin.zip">ant-current-bin.zip</a> [<a
  46. href="http://www.apache.org/dist/ant/ant-current-bin.zip.asc">PGP</a>]
  47. [<a
  48. href="http://www.apache.org/dist/ant/ant-current-bin.zip.md5">MD5</a>]</li>
  49. </ul>
  50. </section>
  51. <section name="Other Formats">
  52. <p>We also provide other packaging formats that may be of interest.</p>
  53. <ul>
  54. <li><a href="[preferred]/ant/binaries/">Other Binaries</a></li>
  55. <li><a href="[preferred]/ant/source/">Other Sources</a></li>
  56. <li><a href="[preferred]/ant/binaries/rpms/">RPMs</a></li>
  57. </ul>
  58. </section>
  59. <section name="Nightly Builds">
  60. <p>If you wish to use the latest Ant features, you can try downloading a
  61. <a href="http://cvs.apache.org/builds/jakarta-ant/nightly/">nightly build</a>.
  62. </p>
  63. </section>
  64. <section name="Verify Releases">
  65. <p>It is essential that you verify the integrity of the downloaded
  66. files using the PGP or MD5 signatures.</p>
  67. <p>The PGP signatures can be verified using PGP or GPG. First
  68. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  69. as well as the <code>asc</code> signature file for the particular
  70. distribution. Make sure you get these files from the <a
  71. href="http://www.apache.org/dist/ant/">main distribution
  72. directory</a>, rather than from a mirror. Then verify the signatures
  73. using</p>
  74. <p><code>
  75. % pgpk -a KEYS<br />
  76. % pgpv jakarta-ant-bin-1.5.1.tar.gz.asc<br />
  77. </code>
  78. <em>or</em><br />
  79. <code>
  80. % pgp -ka KEYS<br />
  81. % pgp jakarta-ant-bin-1.5.1.tar.gz.asc<br />
  82. </code>
  83. <em>or</em><br />
  84. <code>
  85. % gpg -import KEYS<br />
  86. % gpg -verify jakarta-ant-bin-1.5.1.tar.gz.asc
  87. </code></p>
  88. <p>Alternatively, you can verify the MD5 signature on the files. A
  89. unix program called <code>md5</code> or <code>md5sum</code> is
  90. included in many unix distributions. It is also available as part of
  91. <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  92. Textutils</a>. Windows users can get binary md5 programs from <a
  93. href="http://www.fourmilab.ch/md5/">here</a>, <a
  94. href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or
  95. <a href="http://www.slavasoft.com/fsum/">here</a>.</p>
  96. <p>We highly recommend to verify the PGP signature, though.</p>
  97. </section>
  98. </body>
  99. </document>