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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <document>
  14. <properties>
  15. <title>Source Distributions</title>
  16. <index value="1"/>
  17. </properties>
  18. <body>
  19. <section name="Downloading Antlibs">
  20. <p>Use the links below to download a source distribution of Antlibs from
  21. one of our mirrors. It is good practice to
  22. <a href="[location]#Verify Releases">verify the integrity</a>
  23. of the distribution files, especially if you are using one of our
  24. mirror sites. In order to do this you must use the signatures from
  25. our <a href="http://www.apache.org/dist/ant/antlibs/">main distribution
  26. directory</a>.</p>
  27. <p>Antlibs are distributed as <code>zip</code>, <code>tar.gz</code> and
  28. <code>tar.bz2</code> archives - the contents are the same. Please
  29. note that the <code>tar.*</code> archives contain file names longer
  30. than 100 characters and have been created using GNU tar extensions.
  31. Thus they must be untarred with a GNU compatible version of
  32. <code>tar</code>.</p>
  33. <p>If you do not see the file you need in the links below, please see
  34. the <a href="http://www.apache.org/dist/ant/antlibs/">master distribution
  35. directory</a> or, preferably, its <a href="[preferred]/ant/antlibs/">mirror</a>.</p>
  36. </section>
  37. <!--section name="Downloading Ant 1.7.0Beta1">
  38. <p>Beta releases are not mirrored, you can find our latest beta
  39. release at <a
  40. href="http://cvs.apache.org/dist/ant/">http://cvs.apache.org/dist/ant/</a>.</p>
  41. </section>
  42. <section name="Mirror">
  43. <p>You are currently using <b>[preferred]</b>. If you encounter a
  44. problem with this mirror, please select another mirror. If all
  45. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  46. the mirrors list) that should be available.</p>
  47. <form action="[location]" method="get" id="SelectMirror">
  48. Other mirrors: <select name="Preferred">
  49. [if-any http]
  50. [for http]<option value="[http]">[http]</option>[end]
  51. [end]
  52. [if-any ftp]
  53. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  54. [end]
  55. [if-any backup]
  56. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  57. [end]
  58. </select>
  59. <input type="submit" value="Change" />
  60. </form>
  61. </section>
  62. <section name="Current Release of Ant">
  63. <p>Currently, Apache Ant 1.6.5 is the best available version, see the
  64. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  65. <div class="warning">
  66. <div class="label">Note</div>
  67. <div class="content">Ant 1.6.5 has been released on 02-Jun-2005 and
  68. may not be available on all mirrors for a few days.</div>
  69. </div>
  70. <br></br>
  71. <div class="warning">
  72. <div class="label">Tar files may require gnu tar to extract</div>
  73. <div class="content">Tar files in the distribution contain long file names, and may
  74. require gnu tar to do the extraction.</div>
  75. </div>
  76. <ul>
  77. <li><code>.zip</code> archive:
  78. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.zip">apache-ant-1.6.5-src.zip</a>
  79. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.asc">PGP</a>]
  80. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.sha1">SHA1</a>]
  81. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.md5">MD5</a>]</li>
  82. <li><code>.tar.gz</code> archive:
  83. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.tar.gz">apache-ant-1.6.5-src.tar.gz</a>
  84. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.asc">PGP</a>]
  85. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.sha1">SHA1</a>]
  86. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.md5">MD5</a>]</li>
  87. <li><code>.tar.bz2</code> archive:
  88. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.tar.bz2">apache-ant-1.6.5-src.tar.bz2</a>
  89. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.asc">PGP</a>]
  90. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.sha1">SHA1</a>]
  91. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.md5">MD5</a>]</li>
  92. </ul>
  93. </section>
  94. <section name="Old Ant Releases">
  95. <p>Older releases of Ant can be found <a
  96. href="http://archive.apache.org/dist/ant/source/">here</a>. Those
  97. releases are only provided as <code>zip</code> archives that can be
  98. extracted by <code>jar xf </code><em>archive.zip</em> - we highly
  99. recommend to not use those releases but upgrade to Ant's <a
  100. href="[location]#Current Release of Ant">latest</a> release.</p>
  101. </section-->
  102. <section name="Verify Releases">
  103. <p>It is essential that you verify the integrity of the downloaded
  104. files using the PGP signature or the SHA1 or MD5 checksums. The
  105. checksums are not as strong indicators as the PGP signature.</p>
  106. <p>The PGP signatures can be verified using PGP or GPG. First
  107. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  108. as well as the <code>asc</code> signature file for the particular
  109. distribution. Make sure you get these files from the <a
  110. href="http://www.apache.org/dist/ant/antlibs/">main distribution
  111. directory</a>, rather than from a mirror. Then verify the signatures
  112. using</p>
  113. <p><code>
  114. % pgpk -a KEYS<br />
  115. % pgpv apache-ant-1.6.5-src.tar.gz.asc<br />
  116. </code>
  117. <em>or</em><br />
  118. <code>
  119. % pgp -ka KEYS<br />
  120. % pgp apache-ant-1.6.5-src.tar.gz.asc<br />
  121. </code>
  122. <em>or</em><br />
  123. <code>
  124. % gpg --import KEYS<br />
  125. % gpg --verify apache-ant-1.6.5-src.tar.gz.asc
  126. </code></p>
  127. <p>Alternatively, you can verify the checksums on the files. Unix
  128. programs called <code>md5</code>/<code>sha1</code> or
  129. <code>md5sum</code>/<code>sha1sum</code> are included in many unix
  130. distributions. <code>*sum</code> is also available as part of <a
  131. href="http://www.gnu.org/software/textutils/textutils.html">GNU
  132. Textutils</a>. Windows users can get binary md5 programs from <a
  133. href="http://www.fourmilab.ch/md5/">here</a>, <a
  134. href="http://www.pc-tools.net/win32/freeware/console/">here</a>. <a
  135. href="http://www.slavasoft.com/fsum/">fsum</a> supports MD5 and
  136. SHA1.</p>
  137. <p>We highly recommend to verify the PGP signature, though.</p>
  138. </section>
  139. </body>
  140. </document>