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

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