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 16 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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 - Source Distributions</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. <div class="logobar">
  14. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  15. <tr>
  16. <td align="left"><img border="0" alt="Apache Ant site" src="./images/group-logo.gif"></td>
  17. <td align="center" width="100%"><img alt="Apache Ant logo" border="0" src="./images/project-logo.gif"></td>
  18. <td align="right">
  19. <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get">
  20. <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F">
  21. <tr>
  22. <td colspan="3"><img height="10" width="1" alt="" src="./images/spacer.gif"></td>
  23. </tr>
  24. <tr>
  25. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  26. <td nowrap="nowrap" class="searchcaption">
  27. <input name="q" type="hidden">
  28. <input size="15" id="query" type="text">
  29. <img height="1" width="5" alt="" src="./images/spacer.gif">
  30. <input name="Search" value="Search" type="submit">
  31. <br>
  32. the Apache Ant site
  33. </td>
  34. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  35. </tr>
  36. <tr>
  37. <td><img alt="" border="0" height="10" width="9" src="./images/search-left.gif"></td>
  38. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  39. <td><img alt="" border="0" height="10" width="9" src="./images/search-right.gif"></td>
  40. </tr>
  41. </table>
  42. </form>
  43. </td>
  44. </tr>
  45. </table>
  46. </div>
  47. <div class="tab">
  48. <table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
  49. <tr>
  50. <td width="8"><img alt="" height="5" width="8" src="./images/spacer.gif"></td><td valign="bottom">
  51. <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0">
  52. <tr>
  53. <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>
  54. </tr>
  55. </table>
  56. </td>
  57. <td width="5"><img alt="" height="8" width="8" src="./images/spacer.gif"></td><td valign="bottom">
  58. <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0">
  59. <tr>
  60. <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>
  61. </tr>
  62. </table>
  63. </td>
  64. </tr>
  65. </table>
  66. </div>
  67. <div class="bluebar"></div>
  68. <div class="menucontainer">
  69. <div align="center">
  70. <a href="http://ApacheCon.Com/"><img width="135" height="50"
  71. border="0" style="background-color: white"
  72. src="http://apache.org/images/ac2005eu_135x50.gif"
  73. alt="ApacheCon!" title="Come to ApacheCon!"/></a>
  74. </div>
  75. <div class="menu">
  76. <ul>
  77. <li class="menuheader">Apache Ant
  78. <ul>
  79. <li>
  80. <a href="./index.html">Welcome</a>
  81. </li>
  82. <li>
  83. <a href="./license.html">License</a>
  84. </li>
  85. <li>
  86. <a href="./antnews.html">News</a>
  87. </li>
  88. </ul>
  89. </li>
  90. <li class="menuheader">Documentation
  91. <ul>
  92. <li>
  93. <a href="./manual/index.html">Manual</a>
  94. </li>
  95. <li>
  96. <a href="./projects.html">Related Projects</a>
  97. </li>
  98. <li>
  99. <a href="./external.html">External Tools and Tasks</a>
  100. </li>
  101. <li>
  102. <a href="./resources.html">Resources</a>
  103. </li>
  104. <li>
  105. <a href="./faq.html">Frequently Asked Questions</a>
  106. </li>
  107. <li>
  108. <a href="http://wiki.apache.org/ant/FrontPage">Wiki</a>
  109. </li>
  110. <li>
  111. <a href="./problems.html">Having Problems?</a>
  112. </li>
  113. </ul>
  114. </li>
  115. <li class="menuheader">Download
  116. <ul>
  117. <li>
  118. <a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a>
  119. </li>
  120. <li>
  121. <span class="sel">Source Distributions</span>
  122. </li>
  123. </ul>
  124. </li>
  125. <li class="menuheader">Contributing
  126. <ul>
  127. <li>
  128. <a href="./mail.html">Mailing Lists</a>
  129. </li>
  130. <li>
  131. <a href="./cvs.html">CVS Repositories</a>
  132. </li>
  133. <li>
  134. <a href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant">Bug Database</a>
  135. </li>
  136. <li>
  137. <a href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant&amp;bug_severity=enhancement">Enhancement Requests</a>
  138. </li>
  139. <li>
  140. <a href="http://www.apache.org/foundation/contributing.html">Donations</a>
  141. </li>
  142. </ul>
  143. </li>
  144. <li class="menuheader">Project Management
  145. <ul>
  146. <li>
  147. <a href="./contributors.html">Contributors</a>
  148. </li>
  149. <li>
  150. <a href="./mission.html">Apache Ant Mission</a>
  151. </li>
  152. <li>
  153. <a href="./bylaws.html">Project Bylaws</a>
  154. </li>
  155. <li>
  156. <a href="./legal.html">Legal</a>
  157. </li>
  158. </ul>
  159. </li>
  160. </ul>
  161. </div>
  162. <img style="float: left" height="10" width="10" border="0" alt="" src="./images/menu-left.gif">
  163. <img style="float: right" height="10" width="10" border="0" alt="" src="./images/menu-right.gif">
  164. </div>
  165. <div class="lightbluebar">&nbsp;</div>
  166. <div class="main">
  167. <div class="content">
  168. <h1 class="title">Source Distributions</h1>
  169. <h3 class="section">
  170. <a name="Downloading Ant"></a>
  171. Downloading Ant
  172. </h3>
  173. <p>Use the links below to download a source distribution of Ant from
  174. one of our mirrors. It is good practice to
  175. <a href="[location]#Verify Releases">verify the integrity</a>
  176. of the distribution files, especially if you are using one of our
  177. mirror sites. In order to do this you must use the signatures from
  178. our <a href="http://www.apache.org/dist/ant/">main distribution
  179. directory</a>.</p>
  180. <p>Ant is distributed as <code>zip</code>, <code>tar.gz</code> and
  181. <code>tar.bz2</code> archives - the contents are the same. Please
  182. note that the <code>tar.*</code> archives contain file names longer
  183. than 100 characters and have been created using GNU tar extensions.
  184. Thus they must be untarred with a GNU compatible version of
  185. <code>tar</code>.</p>
  186. <p>If you do not see the file you need in the links below, please see
  187. the <a href="http://www.apache.org/dist/ant/">master distribution
  188. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  189. <h3 class="section">
  190. <a name="Mirror"></a>
  191. Mirror
  192. </h3>
  193. <p>You are currently using <b>[preferred]</b>. If you encounter a
  194. problem with this mirror, please select another mirror. If all
  195. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  196. the mirrors list) that should be available.</p>
  197. <form action="[location]" method="get" id="SelectMirror">
  198. Other mirrors: <select name="Preferred">
  199. [if-any http]
  200. [for http]<option value="[http]">[http]</option>[end]
  201. [end]
  202. [if-any ftp]
  203. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  204. [end]
  205. [if-any backup]
  206. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  207. [end]
  208. </select>
  209. <input type="submit" value="Change" />
  210. </form>
  211. <h3 class="section">
  212. <a name="Current Release of Ant"></a>
  213. Current Release of Ant
  214. </h3>
  215. <p>Currently, Apache Ant 1.6.5 is the best available version, see the
  216. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  217. <div class="warning">
  218. <div class="label">Note</div>
  219. <div class="content">Ant 1.6.5 has been released on 02-Jun-2005 and
  220. may not be available on all mirrors for a few days.</div>
  221. </div>
  222. <br />
  223. <div class="warning">
  224. <div class="label">Tar files may require gnu tar to extract</div>
  225. <div class="content">Tar files in the distribution contain long file names, and may
  226. require gnu tar to do the extraction.</div>
  227. </div>
  228. <ul>
  229. <li><code>.zip</code> archive:
  230. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.zip">apache-ant-1.6.5-src.zip</a>
  231. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.asc">PGP</a>]
  232. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.sha1">SHA1</a>]
  233. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.zip.md5">MD5</a>]</li>
  234. <li><code>.tar.gz</code> archive:
  235. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.tar.gz">apache-ant-1.6.5-src.tar.gz</a>
  236. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.asc">PGP</a>]
  237. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.sha1">SHA1</a>]
  238. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.gz.md5">MD5</a>]</li>
  239. <li><code>.tar.bz2</code> archive:
  240. <a href="[preferred]/ant/source/apache-ant-1.6.5-src.tar.bz2">apache-ant-1.6.5-src.tar.bz2</a>
  241. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.asc">PGP</a>]
  242. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.sha1">SHA1</a>]
  243. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.6.5-src.tar.bz2.md5">MD5</a>]</li>
  244. </ul>
  245. <h3 class="section">
  246. <a name="Nightly Builds"></a>
  247. Nightly Builds
  248. </h3>
  249. <p>Are currently not available, we hope to restore that service soon.</p>
  250. <p>If you want to build Ant from sources, you can use a <a href="http://cvs.apache.org/snapshots/ant/">CVS snapshot</a>.</p>
  251. <h3 class="section">
  252. <a name="Old Ant Releases"></a>
  253. Old Ant Releases
  254. </h3>
  255. <p>Older releases of Ant can be found <a href="http://archive.apache.org/dist/ant/source/">here</a>. Those
  256. releases are only provided as <code>zip</code> archives that can be
  257. extracted by <code>jar xf </code><em>archive.zip</em> - we highly
  258. recommend to not use those releases but upgrade to Ant's <a href="[location]#Current Release of Ant">latest</a> release.</p>
  259. <h3 class="section">
  260. <a name="Verify Releases"></a>
  261. Verify Releases
  262. </h3>
  263. <p>It is essential that you verify the integrity of the downloaded
  264. files using the PGP signature or the SHA1 or MD5 checksums. The
  265. checksums are not as strong indicators as the PGP signature.</p>
  266. <p>The PGP signatures can be verified using PGP or GPG. First
  267. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  268. as well as the <code>asc</code> signature file for the particular
  269. distribution. Make sure you get these files from the <a href="http://www.apache.org/dist/ant/">main distribution
  270. directory</a>, rather than from a mirror. Then verify the signatures
  271. using</p>
  272. <p><code>
  273. % pgpk -a KEYS<br />
  274. % pgpv apache-ant-1.6.5-src.tar.gz.asc<br />
  275. </code>
  276. <em>or</em><br />
  277. <code>
  278. % pgp -ka KEYS<br />
  279. % pgp apache-ant-1.6.5-src.tar.gz.asc<br />
  280. </code>
  281. <em>or</em><br />
  282. <code>
  283. % gpg --import KEYS<br />
  284. % gpg --verify apache-ant-1.6.5-src.tar.gz.asc
  285. </code></p>
  286. <p>Alternatively, you can verify the checksums on the files. Unix
  287. programs called <code>md5</code>/<code>sha1</code> or
  288. <code>md5sum</code>/<code>sha1sum</code> are included in many unix
  289. distributions. <code>*sum</code> is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  290. 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>. <a href="http://www.slavasoft.com/fsum/">fsum</a> supports MD5 and
  291. SHA1.</p>
  292. <p>We highly recommend to verify the PGP signature, though.</p>
  293. </div>
  294. </div>
  295. <p class="copyright">
  296. Copyright &copy; 2000-2005&nbsp;The Apache Software Foundation. All rights reserved.
  297. <script type="text/javascript" language="JavaScript"><!--
  298. document.write(" - "+"Last Published: " + document.lastModified);
  299. // -->
  300. </script>
  301. </p>
  302. </body>
  303. </html>