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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  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="http://www.apache.org/licenses/LICENSE-2.0.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. <li>
  132. <a href="http://ant.apache.org/manualdownload.cgi">Ant Manual</a>
  133. </li>
  134. </ul>
  135. </li>
  136. <li class="menuheader">Contributing
  137. <ul>
  138. <li>
  139. <a href="./mail.html">Mailing Lists</a>
  140. </li>
  141. <li>
  142. <a href="./svn.html">Subversion Repositories</a>
  143. </li>
  144. <li>
  145. <a href="./nightlies.html">Nightly+Continuous Builds</a>
  146. </li>
  147. <li>
  148. <a href="./bugs.html">Bug Database</a>
  149. </li>
  150. <li>
  151. <a href="http://www.apache.org/security/">Security</a>
  152. </li>
  153. </ul>
  154. </li>
  155. <li class="menuheader">Sponsorship
  156. <ul>
  157. <li>
  158. <a href="http://www.apache.org/foundation/thanks.html">Thanks</a>
  159. </li>
  160. <li>
  161. <a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a>
  162. </li>
  163. </ul>
  164. </li>
  165. <li class="menuheader">Project Management
  166. <ul>
  167. <li>
  168. <a href="./contributors.html">Contributors</a>
  169. </li>
  170. <li>
  171. <a href="./mission.html">Apache Ant Mission</a>
  172. </li>
  173. <li>
  174. <a href="./bylaws.html">Project Bylaws</a>
  175. </li>
  176. <li>
  177. <a href="./legal.html">Legal</a>
  178. </li>
  179. </ul>
  180. </li>
  181. </ul>
  182. </div>
  183. <center>
  184. <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>
  185. </center>
  186. <img style="float: left" height="10" width="10" border="0" alt="" src="./images/menu-left.gif">
  187. <img style="float: right" height="10" width="10" border="0" alt="" src="./images/menu-right.gif">
  188. </div>
  189. <div class="lightbluebar">&nbsp;</div>
  190. <div class="main">
  191. <div class="content">
  192. <h1 class="title">Source Distributions</h1>
  193. <h3 class="section">
  194. <a name="Apache Ant&amp;#x2122;"></a>
  195. Apache Ant&#x2122;
  196. </h3>
  197. <p>Apache Ant is a Java library and command-line tool that help
  198. building software.</p>
  199. <h3 class="section">
  200. <a name="Downloading Apache Ant"></a>
  201. Downloading Apache Ant
  202. </h3>
  203. <p>Use the links below to download a source distribution of Ant from
  204. one of our mirrors. It is good practice to
  205. <a href="[location]#Verify Releases">verify the integrity</a>
  206. of the distribution files, especially if you are using one of our
  207. mirror sites. In order to do this you must use the signatures from
  208. our <a href="http://www.apache.org/dist/ant/">main distribution
  209. directory</a>.</p>
  210. <p>Ant is distributed as <code>zip</code>, <code>tar.gz</code> and
  211. <code>tar.bz2</code> archives - the contents are the same. Please
  212. note that the <code>tar.*</code> archives contain file names longer
  213. than 100 characters and have been created using GNU tar extensions.
  214. Thus they must be untarred with a GNU compatible version of
  215. <code>tar</code>.</p>
  216. <p>If you do not see the file you need in the links below, please see
  217. the <a href="http://www.apache.org/dist/ant/">master distribution
  218. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  219. <h3 class="section">
  220. <a name="Mirror"></a>
  221. Mirror
  222. </h3>
  223. <p>You are currently using <b>[preferred]</b>. If you encounter a
  224. problem with this mirror, please select another mirror. If all
  225. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  226. the mirrors list) that should be available.</p>
  227. <form action="[location]" method="get" id="SelectMirror">
  228. Other mirrors: <select name="Preferred">
  229. [if-any http]
  230. [for http]<option value="[http]">[http]</option>[end]
  231. [end]
  232. [if-any ftp]
  233. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  234. [end]
  235. [if-any backup]
  236. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  237. [end]
  238. </select>
  239. <input type="submit" value="Change" />
  240. </form>
  241. <h3 class="section">
  242. <a name="Current Release of Apache Ant"></a>
  243. Current Release of Apache Ant
  244. </h3>
  245. <p>Currently, Apache Ant 1.8.2 is the best available version, see the
  246. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  247. <div class="warning">
  248. <div class="label">Note</div>
  249. <div class="content">Ant 1.8.2 was released on 27-December-2010 and
  250. may not be available on all mirrors for a few days.</div>
  251. </div>
  252. <br />
  253. <div class="warning">
  254. <div class="label">Tar files may require gnu tar to extract</div>
  255. <div class="content">Tar files in the distribution contain long file names, and may
  256. require gnu tar to do the extraction.</div>
  257. </div>
  258. <ul>
  259. <li><code>.zip</code> archive:
  260. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.zip">apache-ant-1.8.2-src.zip</a>
  261. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.asc">PGP</a>]
  262. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha1">SHA1</a>]
  263. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.sha512">SHA512</a>]
  264. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.zip.md5">MD5</a>]</li>
  265. <li><code>.tar.gz</code> archive:
  266. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.gz">apache-ant-1.8.2-src.tar.gz</a>
  267. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.asc">PGP</a>]
  268. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha1">SHA1</a>]
  269. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.sha512">SHA512</a>]
  270. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.gz.md5">MD5</a>]</li>
  271. <li><code>.tar.bz2</code> archive:
  272. <a href="[preferred]/ant/source/apache-ant-1.8.2-src.tar.bz2">apache-ant-1.8.2-src.tar.bz2</a>
  273. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.asc">PGP</a>]
  274. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha1">SHA1</a>]
  275. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.sha512">SHA512</a>]
  276. [<a href="http://www.apache.org/dist/ant/source/apache-ant-1.8.2-src.tar.bz2.md5">MD5</a>]</li>
  277. </ul>
  278. <h3 class="section">
  279. <a name="Old Ant Releases"></a>
  280. Old Ant Releases
  281. </h3>
  282. <p>Older releases of Ant can be found <a href="http://archive.apache.org/dist/ant/source/">here</a>. We highly
  283. recommend to not use those releases but upgrade to Ant's <a href="[location]#Current Release of Ant">latest</a> release.</p>
  284. <h3 class="section">
  285. <a name="Verify Releases"></a>
  286. Verify Releases
  287. </h3>
  288. <p>It is essential that you verify the integrity of the downloaded
  289. files using the PGP signature or the SHA1, SHA512 or MD5 checksums. The
  290. checksums are not as strong indicators as the PGP signature.</p>
  291. <p>The PGP signatures can be verified using PGP or GPG. First
  292. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  293. as well as the <code>asc</code> signature file for the particular
  294. distribution. Make sure you get these files from the <a href="http://www.apache.org/dist/ant/">main distribution
  295. directory</a>, rather than from a mirror. Then verify the signatures
  296. using</p>
  297. <p><code>
  298. % pgpk -a KEYS<br />
  299. % pgpv apache-ant-1.8.2-src.tar.gz.asc<br />
  300. </code>
  301. <em>or</em><br />
  302. <code>
  303. % pgp -ka KEYS<br />
  304. % pgp apache-ant-1.8.2-src.tar.gz.asc<br />
  305. </code>
  306. <em>or</em><br />
  307. <code>
  308. % gpg --import KEYS<br />
  309. % gpg --verify apache-ant-1.8.2-src.tar.gz.asc
  310. </code></p>
  311. <p>Alternatively, you can verify the checksums on the files. Unix
  312. programs called <code>md5</code>/<code>sha1</code>/<code>sha512</code> or
  313. <code>md5sum</code>/<code>sha1sum</code>/<code>sha512sum</code> are included in many unix
  314. distributions. <code>*sum</code> is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  315. 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
  316. SHA1.</p>
  317. <p>We highly recommend to verify the PGP signature, though.</p>
  318. </div>
  319. </div>
  320. <p class="copyright">
  321. Apache Ant, Apache Ivy, Ant, Ivy, Apache, the Apache feather logo, and the Apache Ant project logos are trademarks of The Apache Software Foundation.
  322. <script type="text/javascript" language="JavaScript"><!--
  323. document.write(" - "+"Last Published: " + document.lastModified);
  324. // -->
  325. </script>
  326. </p>
  327. </body>
  328. </html>