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 3.9 kB

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