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.

bindownload.html 17 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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 - Binary 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. <span class="sel">Binary Distributions</span>
  127. </li>
  128. <li>
  129. <a href="http://ant.apache.org/srcdownload.cgi">Source Distributions</a>
  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">Binary 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 binary 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>In addition the <a href="http://www.jpackage.org">JPackage
  208. project</a> provides RPMs at their own distribution site.</p>
  209. <p>If you do not see the file you need in the links below, please see
  210. the <a href="http://www.apache.org/dist/ant/">master distribution
  211. directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>
  212. <h3 class="section">
  213. <a name="Mirror"></a>
  214. Mirror
  215. </h3>
  216. <p>You are currently using <b>[preferred]</b>. If you encounter a
  217. problem with this mirror, please select another mirror. If all
  218. mirrors are failing, there are <i>backup</i> mirrors (at the end of
  219. the mirrors list) that should be available.</p>
  220. <form action="[location]" method="get" id="SelectMirror">
  221. Other mirrors: <select name="Preferred">
  222. [if-any http]
  223. [for http]<option value="[http]">[http]</option>[end]
  224. [end]
  225. [if-any ftp]
  226. [for ftp]<option value="[ftp]">[ftp]</option>[end]
  227. [end]
  228. [if-any backup]
  229. [for backup]<option value="[backup]">[backup] (backup)</option>[end]
  230. [end]
  231. </select>
  232. <input type="submit" value="Change" />
  233. </form>
  234. <h3 class="section">
  235. <a name="Current Release of Ant"></a>
  236. Current Release of Ant
  237. </h3>
  238. <p>Currently, Apache Ant 1.8.0 is the best available version, see the
  239. <a href="[preferred]/ant/README.html">release notes</a>.</p>
  240. <div class="warning">
  241. <div class="label">Note</div>
  242. <div class="content">Ant 1.8.0 was released on 8-Feb-2010 and
  243. may not be available on all mirrors for a few days.</div>
  244. </div>
  245. <br />
  246. <div class="warning">
  247. <div class="label">Tar files may require gnu tar to extract</div>
  248. <div class="content">Tar files in the distribution contain long file names, and may
  249. require gnu tar to do the extraction.</div>
  250. </div>
  251. <ul>
  252. <li><code>.zip</code> archive:
  253. <a href="[preferred]/ant/binaries/apache-ant-1.8.0-bin.zip">apache-ant-1.8.0-bin.zip</a>
  254. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.zip.asc">PGP</a>]
  255. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.zip.sha1">SHA1</a>]
  256. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.zip.md5">MD5</a>]</li>
  257. <li><code>.tar.gz</code> archive:
  258. <a href="[preferred]/ant/binaries/apache-ant-1.8.0-bin.tar.gz">apache-ant-1.8.0-bin.tar.gz</a>
  259. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz.asc">PGP</a>]
  260. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz.sha1">SHA1</a>]
  261. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz.md5">MD5</a>]</li>
  262. <li><code>.tar.bz2</code> archive:
  263. <a href="[preferred]/ant/binaries/apache-ant-1.8.0-bin.tar.bz2">apache-ant-1.8.0-bin.tar.bz2</a>
  264. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.bz2.asc">PGP</a>]
  265. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.bz2.sha1">SHA1</a>]
  266. [<a href="http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.bz2.md5">MD5</a>]</li>
  267. </ul>
  268. <h3 class="section">
  269. <a name="Old Ant Releases"></a>
  270. Old Ant Releases
  271. </h3>
  272. <p>Older releases of Ant can be found <a href="http://archive.apache.org/dist/ant/binaries/">here</a>. Those
  273. releases are only provided as <code>zip</code> archives that can be
  274. extracted by <code>jar xf </code><em>archive.zip</em> - we highly
  275. recommend to not use those releases but upgrade to Ant's <a href="[location]#Current Release of Ant">latest</a> release.</p>
  276. <h3 class="section">
  277. <a name="Verify Releases"></a>
  278. Verify Releases
  279. </h3>
  280. <p>It is essential that you verify the integrity of the downloaded
  281. files using the PGP signature or the SHA1 or MD5 checksums. The
  282. checksums are not as strong indicators as the PGP signature.</p>
  283. <p>The PGP signatures can be verified using PGP or GPG. First
  284. download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
  285. as well as the <code>asc</code> signature file for the particular
  286. distribution. Make sure you get these files from the <a href="http://www.apache.org/dist/ant/">main distribution
  287. directory</a>, rather than from a mirror. Then verify the signatures
  288. using</p>
  289. <p><code>
  290. % pgpk -a KEYS<br />
  291. % pgpv apache-ant-1.8.0-bin.tar.gz.asc<br />
  292. </code>
  293. <em>or</em><br />
  294. <code>
  295. % pgp -ka KEYS<br />
  296. % pgp apache-ant-1.8.0-bin.tar.gz.asc<br />
  297. </code>
  298. <em>or</em><br />
  299. <code>
  300. % gpg --import KEYS<br />
  301. % gpg --verify apache-ant-1.8.0-bin.tar.gz.asc
  302. </code></p>
  303. <p>A command line version of <a href="http://www.gnupg.org/download/">GnuPG</a>
  304. is also available for Windows users. Follow the
  305. <a href="http://www.gnupg.org/(en)/documentation/faqs.html#q4.19">instructions</a>
  306. to verify the package.</p>
  307. <p>Alternatively, you can verify the checksums on the files. Unix
  308. programs called <code>md5</code>/<code>sha1</code> or
  309. <code>md5sum</code>/<code>sha1sum</code> are included in many unix
  310. distributions. <code>*sum</code> is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU
  311. 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
  312. SHA1.</p>
  313. <p>We highly recommend to verify the PGP signature, though.</p>
  314. </div>
  315. </div>
  316. <p class="copyright">
  317. <script type="text/javascript" language="JavaScript"><!--
  318. document.write(" - "+"Last Published: " + document.lastModified);
  319. // -->
  320. </script>
  321. </p>
  322. </body>
  323. </html>