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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <title>Downloading Ant - Source Distribution</title>
  5. <base/>
  6. </properties>
  7. <body>
  8. <section name="Downloading Ant">
  9. <p>Use the links below to download a source 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>If you do not see the file you need in the links below, please see
  23. the <a href="http://www.apache.org/dist/ant/">master distribution
  24. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  25. </section>
  26. <section name="Mirror">
  27. <p>You are currently using <b>[preferred]</b>. If you encounter a
  28. problem with this mirror, please select another mirror. If all
  29. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  30. the mirrors list) that should be available.</p>
  31. <form action="[location]" method="get" id="SelectMirror">
  32. Other mirrors: <select name="Preferred">
  33. [if-any http]
  34. [for http]<option value="[http]">[http]</option>[end]
  35. [end]
  36. [if-any ftp]
  37. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  38. [end]
  39. [if-any backup]
  40. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  41. [end]
  42. </select>
  43. <input type="submit" value="Change" />
  44. </form>
  45. </section>
  46. <section name="Current Release of Ant">
  47. <p>Currently, Apache Ant 1.5.3 is the best available version, see the
  48. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  49. <div class="warning">
  50. <div class="label">Note</div>
  51. <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
  52. 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
  53. the removal of a spurious junit.jar file.
  54. </div>
  55. </div>
  56. <ul>
  57. <li><code>.zip</code> archive:
  58. <a href="[preferred]/ant/source/apache-ant-1.5.3-1-src.zip">apache-ant-1.5.3-1-src.zip</a>
  59. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.zip.asc">PGP</a>]
  60. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.zip.md5">MD5</a>]</li>
  61. <li><code>.tar.gz</code> archive:
  62. <a href="[preferred]/ant/source/apache-ant-1.5.3-1-src.tar.gz">apache-ant-1.5.3-1-src.tar.gz</a>
  63. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.tar.gz.asc">PGP</a>]
  64. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.tar.gz.md5">MD5</a>]</li>
  65. <li><code>.tar.bz2</code> archive:
  66. <a href="[preferred]/ant/source/apache-ant-1.5.3-1-src.tar.bz2">apache-ant-1.5.3-1-src.tar.bz2</a>
  67. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.tar.bz2.asc">PGP</a>]
  68. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.3-1-src.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://ant.apache.org/old-releases/">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.5.3-1-src.tar.gz.asc<br />
  97. </code>
  98. <em>or</em><br />
  99. <code>
  100. % pgp -ka KEYS<br />
  101. % pgp apache-ant-1.5.3-1-src.tar.gz.asc<br />
  102. </code>
  103. <em>or</em><br />
  104. <code>
  105. % gpg --import KEYS<br />
  106. % gpg --verify apache-ant-1.5.3-1-src.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>