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

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