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

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