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

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