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

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