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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <author email="">Conor MacNeill</author>
  5. <author email="stefan.bodewig@freenet.de">Stefan Bodewig</author>
  6. <title>Welcome</title>
  7. </properties>
  8. <body>
  9. <section name="Ant 1.6.1">
  10. <p>Apache Ant 1.6.1 is now available for <a
  11. href="http://ant.apache.org/bindownload.cgi">download</a>.</p>
  12. <p>The ASF Board has approved the new Apache License 2.0.
  13. For a copy of that license, please see
  14. <a href="http://www.apache.org/licenses/">
  15. http://www.apache.org/licenses/</a>.</p>
  16. <p>The Ant 1.6.1 release is delivered with the
  17. Apache License 2.0.</p>
  18. <p>Ant 1.6.1 fixes several bugs, most notably the handling
  19. of the default namespace for nested elements.</p>
  20. <p>Ant 1.6.1 also introduces initial support for compiling with
  21. Java 1.5.</p>
  22. </section>
  23. <section name="Ant 1.6.0">
  24. <p>Apache Ant 1.6.0 is available since December 18, 2003 for
  25. <a href="http://archive.apache.org/dist/ant">download</a>. As
  26. we've already said in the announcements of Ant 1.5.4, this release
  27. requires JDK 1.2 or later to run.</p>
  28. <p>Ant 1.6.0 adds a lot of new features, most prominently support
  29. for XML namespaces as well as a new concept of Ant libraries that
  30. makes use of namespaces to avoid name clashes of custom tasks.
  31. For a longer list of fixed bugs and new features see the release
  32. notes.</p>
  33. <p>If you find anything that hasn't been covered in the manual (I bet you
  34. did) or could be explained better, feel free to help us out in the
  35. <a href="http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail">Wiki </a>.</p>
  36. </section>
  37. <section name="Apache Ant">
  38. <p>
  39. Apache Ant is a Java-based build tool. In theory, it is kind of like
  40. Make, but without Make's wrinkles.
  41. </p>
  42. <p>
  43. Why another build tool when there is already <em>make</em>, <em>gnumake</em>,
  44. <em>nmake</em>, <em>jam</em>, and
  45. others? Because all those tools have limitations that Ant's original author
  46. couldn't live with when developing software across multiple platforms. Make-like
  47. tools are inherently shell-based -- they evaluate a set of dependencies, then
  48. execute commands not unlike what you would issue in a shell. This means that you
  49. can easily extend these tools by using or writing any program for the OS that
  50. you are working on. However, this also means that you limit yourself to the OS,
  51. or at least the OS type such as Unix, that you are working on.
  52. </p>
  53. <p>
  54. Makefiles are inherently evil as well. Anybody who has worked on them for any
  55. time has run into the dreaded tab problem. &quot;Is my command not executing
  56. because I have a space in front of my tab!!!&quot; said the original author of
  57. Ant way too many times. Tools like Jam took care of this to a great degree, but
  58. still have yet another format to use and remember.
  59. </p>
  60. <p>
  61. Ant is different. Instead of a model where it is extended with shell-based
  62. commands, Ant is extended using Java classes. Instead of writing shell commands,
  63. the configuration files are XML-based, calling out a target tree where various
  64. tasks get executed. Each task is run by an object that implements a particular
  65. Task interface.
  66. </p>
  67. <p>
  68. Granted, this removes some of the expressive power that is inherent by being
  69. able to construct a shell command such as
  70. <code>`find . -name foo -exec rm {}`</code>, but it
  71. gives you the ability to be cross platform -- to work anywhere and everywhere.
  72. And hey, if you really need to execute a shell command, Ant has an
  73. <code>&lt;exec&gt;</code> task that
  74. allows different commands to be executed based on the OS that it is executing
  75. on.
  76. </p>
  77. </section>
  78. <section name="Documentation">
  79. <p>
  80. You can view the documentation for the current release (Apache Ant 1.6.0)
  81. <a href="manual/index.html">online</a>
  82. </p>
  83. <p>
  84. Comprehensive documentation is included in the source and binary distributions.
  85. </p>
  86. </section>
  87. <section name="Nightly Builds">
  88. <p>
  89. If you wish to use the latest Ant features, you can try downloading a nightly
  90. build from <a href="http://cvs.apache.org/builds/ant/nightly/">here</a>
  91. </p>
  92. </section>
  93. <section name="Get Involved">
  94. <ul>
  95. <li><a href="http://jakarta.apache.org/getinvolved/getinvolvedindex.html">Get Involved</a></li>
  96. <li><a href="mail.html">Join Mailing Lists</a></li>
  97. <li><a href="http://marc.theaimsgroup.com/?l=ant-dev&amp;r=1&amp;w=2">Search the Dev Mailing List</a>
  98. </li>
  99. <li><a href="http://marc.theaimsgroup.com/?l=ant-user&amp;r=1&amp;w=2">Search the User Mailing List</a>
  100. </li>
  101. </ul>
  102. </section>
  103. </body>
  104. </document>