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.

index.html 10 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- Content Stylesheet for Site -->
  3. <!-- start the processing -->
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  7. <meta name="author" value="Conor MacNeill">
  8. <meta name="email" value="conor@cortexebusiness.com.au">
  9. <meta name="author" value="Stefan Bodewig">
  10. <meta name="email" value="stefan.bodewig@epost.de">
  11. <title>Apache Ant - Ant</title>
  12. </head>
  13. <body bgcolor="#ffffff" text="#000000" link="#525D76">
  14. <table border="0" width="100%" cellspacing="0">
  15. <!-- TOP IMAGE -->
  16. <tr>
  17. <td colspan="2">
  18. <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
  19. </td>
  20. </tr>
  21. </table>
  22. <table border="0" width="100%" cellspacing="4">
  23. <tr><td colspan="2">
  24. <hr noshade="" size="1"/>
  25. </td></tr>
  26. <tr>
  27. <!-- LEFT SIDE NAVIGATION -->
  28. <td valign="top" nowrap="true">
  29. <p><strong>Apache Ant</strong></p>
  30. <ul>
  31. <li> <a href="./index.html">Front Page</a>
  32. </li>
  33. <li> <a href="./antnews.html">News</a>
  34. </li>
  35. <li> <a href="./manual/index.html">Documentation</a>
  36. </li>
  37. <li> <a href="./projects.html">Related Projects</a>
  38. </li>
  39. <li> <a href="./external.html">External Tools and Tasks</a>
  40. </li>
  41. <li> <a href="./resources.html">Resources</a>
  42. </li>
  43. <li> <a href="./faq.html">Ant FAQ</a>
  44. </li>
  45. <li> <a href="./problems.html">Having Problems?</a>
  46. </li>
  47. </ul>
  48. <p><strong>Download</strong></p>
  49. <ul>
  50. <li> <a href="http://jakarta.apache.org/site/binindex.html">Binaries</a>
  51. </li>
  52. <li> <a href="http://jakarta.apache.org/site/sourceindex.html">Source Code</a>
  53. </li>
  54. </ul>
  55. <p><strong>Jakarta</strong></p>
  56. <ul>
  57. <li> <a href="http://jakarta.apache.org/site/news.html">News & Status</a>
  58. </li>
  59. <li> <a href="http://jakarta.apache.org/site/mission.html">Mission</a>
  60. </li>
  61. <li> <a href="http://jakarta.apache.org/site/guidelines.html">Guidelines Notes</a>
  62. </li>
  63. <li> <a href="http://jakarta.apache.org/site/faqs.html">FAQs</a>
  64. </li>
  65. </ul>
  66. <p><strong>Get Involved</strong></p>
  67. <ul>
  68. <li> <a href="http://jakarta.apache.org/site/getinvolved.html">Overview</a>
  69. </li>
  70. <li> <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repositories</a>
  71. </li>
  72. <li> <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
  73. </li>
  74. <li> <a href="http://jakarta.apache.org/site/library.html">Reference Library</a>
  75. </li>
  76. <li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant">Bug Database</a>
  77. </li>
  78. <li> <a href="http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Ant&bug_severity=Enhancement">Enhancement Requests</a>
  79. </li>
  80. </ul>
  81. </td>
  82. <td align="left" valign="top">
  83. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  84. <tr><td bgcolor="#525D76">
  85. <font color="#ffffff" face="arial,helvetica,sanserif">
  86. <a name="Logo Contest"><strong>Logo Contest</strong></a>
  87. </font>
  88. </td></tr>
  89. <tr><td>
  90. <blockquote>
  91. <h3>Polls have closed</h3>
  92. <p>*drum roll* - <a href="logocontest.html">and the winners are....</a></p>
  93. </blockquote>
  94. </td></tr>
  95. </table>
  96. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  97. <tr><td bgcolor="#525D76">
  98. <font color="#ffffff" face="arial,helvetica,sanserif">
  99. <a name="Ant 1.4.1"><strong>Ant 1.4.1</strong></a>
  100. </font>
  101. </td></tr>
  102. <tr><td>
  103. <blockquote>
  104. <h3>Apache Ant 1.4.1 Available !</h3>
  105. <p>Version 1.4.1 of Ant has been released. This is a bugfix release which corrects a few problems
  106. in the 1.4 release. It is available for download
  107. <a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/">
  108. here</a>.
  109. </p>
  110. </blockquote>
  111. </td></tr>
  112. </table>
  113. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  114. <tr><td bgcolor="#525D76">
  115. <font color="#ffffff" face="arial,helvetica,sanserif">
  116. <a name="Apache Ant"><strong>Apache Ant</strong></a>
  117. </font>
  118. </td></tr>
  119. <tr><td>
  120. <blockquote>
  121. <p>
  122. Apache Ant is a Java based build tool. In theory it is kind of like make without
  123. make's wrinkles.
  124. </p>
  125. <p>
  126. Why another build tool when there is already make, gnumake, nmake, jam, and
  127. others? Because all of those tools have limitations that Ant's original author
  128. couldn't live with when developing software across multiple platforms. Make-like
  129. tools are inherently shell based. They evaluate a set of dependencies and then
  130. execute commands not unlike what you would issue on a shell. This means that you
  131. can easily extend these tools by using or writing any program for the OS that
  132. you are working on. However, this also means that you limit yourself to the OS,
  133. or at least the OS type such as Unix, that you are working on.
  134. </p>
  135. <p>
  136. Makefiles are inherently evil as well. Anybody who has worked on them for any
  137. time has run into the dreaded tab problem. "Is my command not executing
  138. because I have a space in front of my tab!!!" said the original author of
  139. Ant way too many times. Tools like Jam took care of this to a great degree, but
  140. still use yet another format to use and remember.
  141. </p>
  142. <p>
  143. Ant is different. Instead of a model where it is extended with shell based
  144. commands, it is extended using Java classes. Instead of writing shell commands,
  145. the configuration files are XML based calling out a target tree where various
  146. tasks get executed. Each task is run by an object which implements a particular
  147. Task interface.
  148. </p>
  149. <p>
  150. Granted, this removes some of the expressive power that is inherent by being
  151. able to construct a shell command such as `find . -name foo -exec rm {}` but it
  152. gives you the ability to be cross platform. To work anywhere and everywhere. And
  153. hey, if you really need to execute a shell command, Ant has an exec rule that
  154. allows different commands to be executed based on the OS that it is executing
  155. on.
  156. </p>
  157. </blockquote>
  158. </td></tr>
  159. </table>
  160. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  161. <tr><td bgcolor="#525D76">
  162. <font color="#ffffff" face="arial,helvetica,sanserif">
  163. <a name="Documentation"><strong>Documentation</strong></a>
  164. </font>
  165. </td></tr>
  166. <tr><td>
  167. <blockquote>
  168. <p>
  169. You can view the documentation for the most recent release
  170. <a href="manual/index.html">online</a>
  171. </p>
  172. <p>
  173. Comprehensive documentation is included in the source and binary distributions.
  174. </p>
  175. </blockquote>
  176. </td></tr>
  177. </table>
  178. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  179. <tr><td bgcolor="#525D76">
  180. <font color="#ffffff" face="arial,helvetica,sanserif">
  181. <a name="Latest Release"><strong>Latest Release</strong></a>
  182. </font>
  183. </td></tr>
  184. <tr><td>
  185. <blockquote>
  186. <p>
  187. You can download the latest release:
  188. </p>
  189. <ul>
  190. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/bin/">
  191. Download the binary release</a></li>
  192. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/src/">
  193. Download the source release</a></li>
  194. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/rpms/">
  195. Download source and binary RPMs</a></li>
  196. </ul>
  197. </blockquote>
  198. </td></tr>
  199. </table>
  200. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  201. <tr><td bgcolor="#525D76">
  202. <font color="#ffffff" face="arial,helvetica,sanserif">
  203. <a name="Nightly Builds"><strong>Nightly Builds</strong></a>
  204. </font>
  205. </td></tr>
  206. <tr><td>
  207. <blockquote>
  208. <p>
  209. If you wish to use the latest Ant features, you can try downloading a nightly
  210. build from <a href="http://www.apache.org/dist/jakarta/jakarta-ant/nightly/">here</a>
  211. </p>
  212. </blockquote>
  213. </td></tr>
  214. </table>
  215. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  216. <tr><td bgcolor="#525D76">
  217. <font color="#ffffff" face="arial,helvetica,sanserif">
  218. <a name="Towards Ant2"><strong>Towards Ant2</strong></a>
  219. </font>
  220. </td></tr>
  221. <tr><td>
  222. <blockquote>
  223. <p>
  224. We are currently hashing out design details for Ant2. Please
  225. read the latest <a href="antnews.html">Ant news</a> for more details.
  226. </p>
  227. </blockquote>
  228. </td></tr>
  229. </table>
  230. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  231. <tr><td bgcolor="#525D76">
  232. <font color="#ffffff" face="arial,helvetica,sanserif">
  233. <a name="Get Involved"><strong>Get Involved</strong></a>
  234. </font>
  235. </td></tr>
  236. <tr><td>
  237. <blockquote>
  238. <ul>
  239. <li><a href="http://jakarta.apache.org/getinvolved/getinvolvedindex.html">Get Involved</a></li>
  240. <li><a href="http://jakarta.apache.org/getinvolved/mail.html">Join Mailing Lists</a></li>
  241. <li><a href="http://marc.theaimsgroup.com/?l=ant-dev&amp;r=1&amp;w=2">Search the Dev Mailing List</a>
  242. </li>
  243. <li><a href="http://marc.theaimsgroup.com/?l=ant-user&amp;r=1&amp;w=2">Search the User Mailing List</a>
  244. </li>
  245. </ul>
  246. </blockquote>
  247. </td></tr>
  248. </table>
  249. </td>
  250. </tr>
  251. <!-- FOOTER -->
  252. <tr><td colspan="2">
  253. <hr noshade="" size="1"/>
  254. </td></tr>
  255. <tr><td colspan="2">
  256. <div align="center"><font color="#525D76" size="-1"><em>
  257. Copyright &#169; 2000-2002, Apache Software Foundation
  258. </em></font></div>
  259. </td></tr>
  260. </table>
  261. </body>
  262. </html>
  263. <!-- end the processing -->