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.

srcdownload.xml 4.9 kB

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