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.3 kB

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