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

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