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

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