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

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