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.html 15 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html lang="en">
  3. <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
  4. <head>
  5. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  6. <title>Apache Ant - Downloading Ant - Source Distribution</title>
  7. <link type="text/css" href="./page.css" rel="stylesheet">
  8. </head>
  9. <body>
  10. <p class="navpath">
  11. <script src="./breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
  12. </p>
  13. <table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
  14. <tr>
  15. <td bgcolor="#294563"><a href="http://ant.apache.org/"><img border="0" alt="Apache Ant site" src="./images/group-logo.gif"></a></td><td width="100%" align="center" bgcolor="#294563"><a href="http://ant.apache.org/"><img alt="Apache Ant logo" border="0" src="./images/project-logo.gif"></a></td><td valign="top" rowspan="2" bgcolor="#294563">
  16. <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get">
  17. <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F">
  18. <tr>
  19. <td colspan="3"><img height="10" width="1" alt="" src="./images/spacer.gif"></td>
  20. </tr>
  21. <tr>
  22. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  23. <td nowrap="nowrap">
  24. <input name="q" type="hidden">
  25. <input size="15" id="query" type="text">
  26. <img height="1" width="5" alt="" src="./images/spacer.gif">
  27. <input name="Search" value="Search" type="submit">
  28. <br>
  29. <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
  30. the Apache Ant site
  31. </font></td><td><img height="1" width="1" alt="" src="./images/spacer.gif">
  32. </td>
  33. </tr>
  34. <tr>
  35. <td><img alt="" border="0" height="10" width="9" src="./images/search-left.gif"></td>
  36. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  37. <td><img alt="" border="0" height="10" width="9" src="./images/search-right.gif"></td>
  38. </tr>
  39. </table>
  40. </form>
  41. </td><td bgcolor="#294563"><img height="10" width="10" alt="" src="./images/spacer.gif"></td>
  42. </tr>
  43. <tr>
  44. <td valign="bottom" bgcolor="#294563" colspan="2">
  45. <div class="tab">
  46. <table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
  47. <tr>
  48. <td width="8"><img alt="" height="5" width="8" src="images/spacer.gif"></td><td valign="bottom">
  49. <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0">
  50. <tr>
  51. <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="./images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b>Home</b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="./images/tabSel-right.gif"></td>
  52. </tr>
  53. </table>
  54. </td>
  55. <td width="5"><img alt="" height="8" width="8" src="./images/spacer.gif"></td><td valign="bottom">
  56. <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0">
  57. <tr>
  58. <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="./images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a href="./projects/index.html"><font size="2" face="Arial, Helvetica, Sans-serif">Projects</font></a></td><td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="./images/tab-right.gif"></td>
  59. </tr>
  60. </table>
  61. </td>
  62. </tr>
  63. </table>
  64. </div>
  65. </td><td bgcolor="#294563"><img alt="" width="1" height="1" src="./images/spacer.gif"></td>
  66. </tr>
  67. <tr>
  68. <td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" src="./images/spacer.gif"></td>
  69. </tr>
  70. </table>
  71. <div class="menucontainer">
  72. <div class="menu">
  73. <ul>
  74. <li class="menuheader">Apache Ant
  75. <ul>
  76. <li>
  77. <a href="./index.html">Welcome</a>
  78. </li>
  79. <li>
  80. <a href="./license.html">License</a>
  81. </li>
  82. <li>
  83. <a href="./antnews.html">News</a>
  84. </li>
  85. </ul>
  86. </li>
  87. <li class="menuheader">Documentation
  88. <ul>
  89. <li>
  90. <a href="./manual/index.html">Manual</a>
  91. </li>
  92. <li>
  93. <a href="./projects.html">Related Projects</a>
  94. </li>
  95. <li>
  96. <a href="./external.html">External Tools and Tasks</a>
  97. </li>
  98. <li>
  99. <a href="./resources.html">Resources</a>
  100. </li>
  101. <li>
  102. <a href="./faq.html">Frequently Asked Questions</a>
  103. </li>
  104. <li>
  105. <a href="./problems.html">Having Problems?</a>
  106. </li>
  107. </ul>
  108. </li>
  109. <li class="menuheader">Download
  110. <ul>
  111. <li>
  112. <a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a>
  113. </li>
  114. <li>
  115. <a href="http://ant.apache.org/srcdownload.cgi">Source Distributions</a>
  116. </li>
  117. </ul>
  118. </li>
  119. <li class="menuheader">Get Involved
  120. <ul>
  121. <li>
  122. <a href="./mail.html">Mailing Lists</a>
  123. </li>
  124. <li>
  125. <a href="./cvs.html">CVS Repositories</a>
  126. </li>
  127. <li>
  128. <a href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant">Bug Database</a>
  129. </li>
  130. <li>
  131. <a href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant&amp;bug_severity=Enhancement">Enhancement Requests</a>
  132. </li>
  133. </ul>
  134. </li>
  135. <li class="menuheader">Project Management
  136. <ul>
  137. <li>
  138. <a href="./contributors.html">Contributors</a>
  139. </li>
  140. <li>
  141. <a href="./mission.html">Apache Ant Mission</a>
  142. </li>
  143. <li>
  144. <a href="./guidelines.html">Project Guidelines</a>
  145. </li>
  146. <li>
  147. <a href="./legal.html">Legal</a>
  148. </li>
  149. </ul>
  150. </li>
  151. </ul>
  152. </div>
  153. <img style="float: left" height="10" width="10" border="0" alt="" src="./images/menu-left.gif">
  154. <img style="float: right" height="10" width="10" border="0" alt="" src="./images/menu-right.gif">
  155. </div>
  156. <div class="bluebar">&nbsp;</div>
  157. <div class="content">
  158. <h1 class="title">Downloading Ant - Source Distribution</h1>
  159. <h3 class="section">
  160. <a name="Downloading Ant"></a>
  161. Downloading Ant
  162. </h3>
  163. <p>Use the links below to download a source distribution of Ant from
  164. one of our mirrors. You <strong>must</strong>
  165. <a href="[location]#Verify Releases">verify the integrity</a> of the
  166. downloaded files using signatures downloaded from our main
  167. distribution directory.</p>
  168. <p>Ant is distributed as <code>zip</code>, <code>tar.gz</code> and
  169. <code>tar.bz2</code> archives - the contents are the same. Please
  170. note that the <code>tar.*</code> archives contain file names longer
  171. than 100 characters and have been created using GNU tar extensions.
  172. Thus they must be untarred with a GNU compatible version of
  173. <code>tar</code>.</p>
  174. <p>If you do not see the file you need in the links below, please see
  175. the <a href="http://www.apache.org/dist/ant/">master distribution
  176. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  177. <h3 class="section">
  178. <a name="Mirror"></a>
  179. Mirror
  180. </h3>
  181. <p>You are currently using <b>[preferred]</b>. If you encounter a
  182. problem with this mirror, please select another mirror. If all
  183. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  184. the mirrors list) that should be available.</p>
  185. <form action="[location]" method="get" id="SelectMirror">
  186. Other mirrors: <select name="Preferred">
  187. [if-any http]
  188. [for http]<option value="[http]">[http]</option>[end]
  189. [end]
  190. [if-any ftp]
  191. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  192. [end]
  193. [if-any backup]
  194. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  195. [end]
  196. </select>
  197. <input type="submit" value="Change" />
  198. </form>
  199. <h3 class="section">
  200. <a name="Current Release of Ant"></a>
  201. Current Release of Ant
  202. </h3>
  203. <p>Currently, Apache Ant 1.5.2 is the best available version, see the
  204. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  205. <ul>
  206. <li><code>.zip</code> archive:
  207. <a href="[preferred]/ant/source/apache-ant-1.5.2-src.zip">apache-ant-1.5.2-src.zip</a>
  208. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.zip.asc">PGP</a>]
  209. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.zip.md5">MD5</a>]</li>
  210. <li><code>.tar.gz</code> archive:
  211. <a href="[preferred]/ant/source/apache-ant-1.5.2-src.tar.gz">apache-ant-1.5.2-src.tar.gz</a>
  212. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.tar.gz.asc">PGP</a>]
  213. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.tar.gz.md5">MD5</a>]</li>
  214. <li><code>.tar.bz2</code> archive:
  215. <a href="[preferred]/ant/source/apache-ant-1.5.2-src.tar.bz2">apache-ant-1.5.2-src.tar.bz2</a>
  216. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.tar.bz2.asc">PGP</a>]
  217. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.5.2-src.tar.bz2.md5">MD5</a>]</li>
  218. </ul>
  219. <h3 class="section">
  220. <a name="Nightly Builds"></a>
  221. Nightly Builds
  222. </h3>
  223. <p>If you wish to use the latest Ant features, you can try downloading a
  224. <a href="http://cvs.apache.org/builds/ant/nightly/">nightly build</a>.
  225. </p>
  226. <h3 class="section">
  227. <a name="Old Ant Releases"></a>
  228. Old Ant Releases
  229. </h3>
  230. <p>Older releases of Ant can be found <a href="http://ant.apache.org/old-releases/">here</a>. Those
  231. releases are only provided as <code>zip</code> archives that can be
  232. extracted by <code>jar xf </code><em>archive.zip</em> - we highly
  233. recommend to not use those releases but upgrade to Ant's <a href="[location]#Current Release of Ant">latest</a> release.</p>
  234. <h3 class="section">
  235. <a name="Verify Releases"></a>
  236. Verify Releases
  237. </h3>
  238. <p>It is essential that you verify the integrity of the downloaded
  239. files using the PGP or MD5 signatures.</p>
  240. <p>The PGP signatures can be verified using PGP or GPG. First
  241. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  242. as well as the <code>asc</code> signature file for the particular
  243. distribution. Make sure you get these files from the <a href="http://www.apache.org/dist/ant/">main distribution
  244. directory</a>, rather than from a mirror. Then verify the signatures
  245. using</p>
  246. <p><code>
  247. % pgpk -a KEYS<br />
  248. % pgpv apache-ant-1.5.2-src.tar.gz.asc<br />
  249. </code>
  250. <em>or</em><br />
  251. <code>
  252. % pgp -ka KEYS<br />
  253. % pgp apache-ant-1.5.2-src.tar.gz.asc<br />
  254. </code>
  255. <em>or</em><br />
  256. <code>
  257. % gpg --import KEYS<br />
  258. % gpg --verify apache-ant-1.5.2-src.tar.gz.asc
  259. </code></p>
  260. <p>Alternatively, you can verify the MD5 signature on the files. A
  261. unix program called <code>md5</code> or <code>md5sum</code> is
  262. included in many unix distributions. It is also available as part of
  263. <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  264. Textutils</a>. Windows users can get binary md5 programs from <a href="http://www.fourmilab.ch/md5/">here</a>, <a href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or
  265. <a href="http://www.slavasoft.com/fsum/">here</a>.</p>
  266. <p>We highly recommend to verify the PGP signature, though.</p>
  267. </div>
  268. <p class="copyright">
  269. Copyright &copy; 2000-2003&nbsp;The Apache Software Foundation. All rights reserved.
  270. <script type="text/javascript" language="JavaScript"><!--
  271. document.write(" - "+"Last Published: " + document.lastModified);
  272. // -->
  273. </script>
  274. </p>
  275. </body>
  276. </html>