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.

welcome.html 6.5 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <html>
  2. <head>
  3. <title>Welcome to Ant1.5</title>
  4. </head>
  5. <body bgcolor="#ffffff">
  6. <h1>Welcome to Ant1.5</h1>
  7. Hello, and welcome to Ant1.5
  8. <p>
  9. For new users to Ant, welcome to a new way to build your software.
  10. <p>
  11. For veteran Ant users, its been, what nine months since Ant 1.4.1
  12. shipped, and we've been as busy enhancing it as you've been using it.
  13. <p>
  14. We know you've been using Ant, not just from the all the bug reports we
  15. see, but from the awards we've been getting from JavaWorld and SD Magazine
  16. and from the fact that it is now clearly a mainstream product. Every quality IDE,
  17. from the Open Source projects: Emacs, NetBeans, Eclipse, JEdit, to the
  18. commercial offerings such as IntelliJ IDEA and JBuilder now have high
  19. quality Ant integration either built in or available as a
  20. download. And they do that not just because it improves their products,
  21. giving users the best of both worlds -great editors and a great build
  22. process, but because Java developers are starting to expect Ant (and
  23. JUnit) everywhere.
  24. <p>
  25. Even in mid-2001, if you said you were using Ant in your project, people
  26. would stare at you. Now, as long as you are talking with Java developers
  27. and not management or your family and friends, people will nod, shrug
  28. and maybe ask you questions about build file and Ant configurations. The good
  29. news: Ant 1.5 includes more helpful error messages and a new
  30. <tt>-diagnostics</tt> command to look at your Ant installation and help work out why
  31. things arent working.
  32. <p>
  33. Now, when you tell people you work on Ant in your spare time,
  34. people used to give you very funny stares; now they ask you about how to
  35. set up automated build processes, or deploy to some random app server.
  36. The good news: Ant 1.5 makes it easier to answer those questions.
  37. The other sign of mainstream is that there are also books on the
  38. subject, first Java Tools for Extreme Programming, then Ant: The
  39. Definitive Guide, and the first Ant1.5 book, Java Development with Ant,
  40. due to ship at the end of the month. (Steve says: I prefer the one with
  41. my name on the cover as co-author, but I'm biased).
  42. As usual, the manual has improved too:
  43. regardless of whether you need a book to work with Ant or not, you need
  44. that on-line documentation. And as usual, any extra contributions to the
  45. docs are welcome indeed.
  46. <p>
  47. Ant has also influenced how projects are built. Now when you download
  48. any open source project, or work with a closed source team, you expect
  49. to see a file called build.xml there. Equally important, you expect that
  50. build file to compile and run a set of tests using JUnit or a derivative
  51. thereof; if they are missing, you worry.
  52. <p>
  53. Together, Ant and JUnit have transformed the mainstream process for
  54. building and deploying Java projects. And that's pretty profound, when
  55. you think about it. What is equally impressive is that this was all done
  56. as a co-operative effort. Nobody works on Ant full-time; everybody uses
  57. it to solve their problems, to address their build crises and generally
  58. get something done in a hurry. It just so happens that the architectural
  59. model of Java classes bound via introspection to the XML build file
  60. makes it easy for people to add new tasks, extend existing ones and
  61. generally ease their way into developing and extending Ant. It is the
  62. users that have helped Ant become the success it is today, and will keep
  63. it that way tomorrow.
  64. <p>
  65. <h2>What has changed</h2>
  66. <p>
  67. So, what is new in Ant1.5? Lots of stuff. You will have to look at the
  68. <a href="WHATSNEW">whatsnew</a> file to see, but basically the changes
  69. fall into a number of categories
  70. <ol>
  71. <li>Bug fixes. We know, some things were broken in 1.4. In ant1.5 we
  72. have moved the bugs, fixing the ones we could, and no doubt adding
  73. different ones. Hopefully the total bug count has decreased.
  74. <li>Scalability. Changes in &lt;ant&gt; and a few other tasks should
  75. make it easier to write large, scalable build files.
  76. <li>Deployment. Take a look at the new &lt;serverdeploy&gt; task, add support
  77. for your server if it isnt there. Tomcat 4.1 has its own deployment
  78. tasks incidentally -fetch them from the tomcat pages.
  79. <li>Ease of use. We have added new attributes to make the archive tasks
  80. consistent with each other, new error messages for common problems (you
  81. get a screenful of help when a task wont instantiate, for example), and
  82. generally try and be helpful. As usual, we will accept contributions to
  83. the documentation or the code for even more helpfulness. Hey, in ant1.5
  84. you dont need to double escape the $ sign to preserve it in a string!
  85. <li>Java 1.4 support. We build and test fine on Java 1.4, and have the
  86. extensions to javac needed to build code with assertions in. We should
  87. point out that we have more work to do in this area: if someone wants to
  88. write an &lt;assertionset&gt; datatype to give users control of which assertions
  89. to enable, and patch this in to things like the &lt;junit&gt; and
  90. &lt;java&gt; tasks, things would get very interesting.
  91. <li>Continuous builds. Automated build tools are becoming more widely
  92. used; fork options on &lt;javac&gt; and &lt;javadoc&gt; are there to
  93. stop memory use growth on a continuous process.
  94. <li>New platforms: MacOS X for owners of those cute little laptops,
  95. Novell Netware servers, and even z/OS and OS/390 for mainframe
  96. developers who write their build files on their virtual card punches.
  97. <li>Conditions. Take a look at the &lt;condition&gt; tag to see what you can
  98. look for, then at &lt;waitfor&gt; to use the same tests in deployment.
  99. Finally, notice the <tt>if</tt> and <tt>unless</tt> attributes on
  100. &lt;fail&gt; for easy halting of the build on a condition, without
  101. having to resort to conditional targets.
  102. </ol>
  103. There are many more enhancements, so we hope you will find your build
  104. projects easier. We have, as usual, jumped through hoops to keep
  105. existing builds working, even those build files that went out their way
  106. to not work on Java 1.4 (hint: dont ask for the classic compiler, it has
  107. gone away). If your build file stops working, and it isnt something listed
  108. on the 'changes that may break your build' part of the WHATSNEW file, or
  109. something we know about on bugzilla, please dont hesitate to file a new
  110. bug report, preferably one with a replicable test and a patch to fix the
  111. problem.
  112. <p>
  113. Thanks,
  114. <p>
  115. The Ant development team.
  116. <p>
  117. PS: many thanks for Magesh to being the build manager for this release!
  118. He has been busy since Feb/March organizing it. Magesh -you are so good
  119. at this you should do it next time too :)
  120. </body></html>