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.xml 4.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <author email="">Conor MacNeill</author>
  5. <author email="stefan.bodewig@epost.de">Stefan Bodewig</author>
  6. <title>Ant</title>
  7. </properties>
  8. <body>
  9. <section name="Ant has won!">
  10. <p>We are proud to announce that Ant has won the JavaWorld
  11. Editors&apos; Choice Award for <strong>Most Useful Java
  12. Community-Developed Technology</strong>. Click on the &quot;News&quot; link
  13. to learn more.</p>
  14. </section>
  15. <section name="Ant 1.4.1">
  16. <h3>Apache Ant 1.4.1 Available !</h3>
  17. <p>Version 1.4.1 of Ant has been released. This is a bugfix release which corrects a few problems
  18. in the 1.4 release. It is available for download
  19. <a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/">
  20. here</a>.
  21. </p>
  22. </section>
  23. <section name="Apache Ant">
  24. <p>
  25. Apache Ant is a Java-based build tool. In theory, it is kind of like
  26. Make, but without Make's wrinkles.
  27. </p>
  28. <p>
  29. Why another build tool when there is already <em>make</em>, <em>gnumake</em>,
  30. <em>nmake</em>, <em>jam</em>, and
  31. others? Because all those tools have limitations that Ant's original author
  32. couldn't live with when developing software across multiple platforms. Make-like
  33. tools are inherently shell-based -- they evaluate a set of dependencies, then
  34. execute commands not unlike what you would issue in a shell. This means that you
  35. can easily extend these tools by using or writing any program for the OS that
  36. you are working on. However, this also means that you limit yourself to the OS,
  37. or at least the OS type such as Unix, that you are working on.
  38. </p>
  39. <p>
  40. Makefiles are inherently evil as well. Anybody who has worked on them for any
  41. time has run into the dreaded tab problem. &quot;Is my command not executing
  42. because I have a space in front of my tab!!!&quot; said the original author of
  43. Ant way too many times. Tools like Jam took care of this to a great degree, but
  44. still have yet another format to use and remember.
  45. </p>
  46. <p>
  47. Ant is different. Instead of a model where it is extended with shell-based
  48. commands, Ant is extended using Java classes. Instead of writing shell commands,
  49. the configuration files are XML-based, calling out a target tree where various
  50. tasks get executed. Each task is run by an object that implements a particular
  51. Task interface.
  52. </p>
  53. <p>
  54. Granted, this removes some of the expressive power that is inherent by being
  55. able to construct a shell command such as
  56. <code>`find . -name foo -exec rm {}`</code>, but it
  57. gives you the ability to be cross platform -- to work anywhere and everywhere.
  58. And hey, if you really need to execute a shell command, Ant has an
  59. <code>&lt;exec&gt;</code> task that
  60. allows different commands to be executed based on the OS that it is executing
  61. on.
  62. </p>
  63. </section>
  64. <section name="Documentation">
  65. <p>
  66. You can view the documentation for the most recent release
  67. <a href="manual/index.html">online</a>
  68. </p>
  69. <p>
  70. Comprehensive documentation is included in the source and binary distributions.
  71. </p>
  72. </section>
  73. <section name="Latest Release">
  74. <p>
  75. You can download the latest release:
  76. </p>
  77. <ul>
  78. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/bin/">
  79. Download the binary release</a></li>
  80. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/src/">
  81. Download the source release</a></li>
  82. <li><a href="http://www.apache.org/dist/jakarta/jakarta-ant/release/v1.4.1/rpms/">
  83. Download source and binary RPMs</a></li>
  84. </ul>
  85. </section>
  86. <section name="Nightly Builds">
  87. <p>
  88. If you wish to use the latest Ant features, you can try downloading a nightly
  89. build from <a href="http://www.apache.org/dist/jakarta/jakarta-ant/nightly/">here</a>
  90. </p>
  91. </section>
  92. <section name="Towards Ant2">
  93. <p>
  94. We are currently hashing out design details for Ant2. Please
  95. read the latest <a href="antnews.html">Ant news</a> for more details.
  96. </p>
  97. </section>
  98. <section name="Get Involved">
  99. <ul>
  100. <li><a href="http://jakarta.apache.org/getinvolved/getinvolvedindex.html">Get Involved</a></li>
  101. <li><a href="http://jakarta.apache.org/getinvolved/mail.html">Join Mailing Lists</a></li>
  102. <li><a href="http://marc.theaimsgroup.com/?l=ant-dev&amp;r=1&amp;w=2">Search the Dev Mailing List</a>
  103. </li>
  104. <li><a href="http://marc.theaimsgroup.com/?l=ant-user&amp;r=1&amp;w=2">Search the User Mailing List</a>
  105. </li>
  106. </ul>
  107. </section>
  108. </body>
  109. </document>