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.

WHATSNEW 5.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Changes from Ant 1.2 to the current sources
  2. ===========================================
  3. Changes that could break older environments:
  4. --------------------------------------------
  5. * Ant doesn't search for the buildfile anymore, unless you use the new
  6. -find argument.
  7. * <perforce> has been replaced by a number of new tasks.
  8. Other changes:
  9. --------------
  10. * A GUI Frontend: Antidote
  11. * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
  12. ilasm, transform, javah
  13. * Added output attribute to <java>.
  14. * Added nested prefixedfileset element to <war>
  15. * Changed <sql> so that printing is at the task level rather than
  16. the statement level.
  17. * javadoc task will pass -d flag to any doclet if the destDir attribute is
  18. given. If the doclet does not accept the -d flag then omit the destdir
  19. attribute.
  20. * <cab> can work on non-Windows platforms with the help of libcabinet.
  21. See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
  22. * <ftp> now supports passive mode.
  23. Fixed bugs:
  24. -----------
  25. * <signjar> doesn't use deprectated methods anymore.
  26. * javadoc's failonerror attribute works again
  27. * Changed <sql> task so that printing result sets works on Oracle
  28. * Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
  29. keppgenerated in ejbc can now be turned off
  30. * ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
  31. CMP files are included by parsing the weblogic deployment descriptor rather than
  32. relying on the naming convention used in ant 1.2
  33. Include super classes and super interfaces into the generated ejb jar files
  34. * <vssget> now correctly deals with spaces in arguments
  35. * <jar> fails early if a given manifest file doesn't exist
  36. Changes from Ant 1.1 to Ant 1.2
  37. ===============================
  38. Changes that could break older environments:
  39. --------------------------------------------
  40. * Semantics of <property> has changed again in the hope to be more
  41. intuitive. ${} expansion now happens at runtime and <property> tags
  42. living inside of targets only take effect if they are visited at
  43. runtime.
  44. As a side effect of this change, task's attributes get set at runtime
  45. not at parser time as well, which might change the results of
  46. <script>s or other custom tasks that reference other tasks by their id
  47. attribute.
  48. * copying of support files in <javac> has been removed - as well as
  49. the filtering attribute.
  50. * the <expand> and <keysubst> tasks have been removed.
  51. * the ignore and items attributes of directory based tasks have been removed.
  52. * the command line switches _not_ starting with - have been removed.
  53. * Path and EnumeratedAttribute have been moved from
  54. org.apache.tools.ant to org.apache.tools.ant.types.
  55. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  56. have been removed.
  57. * the src attribute of <chmod> has been removed.
  58. * <patch> and <javadoc> have lost some of their attributes.
  59. * <java> and <cvs> have lost some undocumented attributes.
  60. * the Unix antRun script would search for command.sh in the directory
  61. it changed to and invoke this instead of command if present. This
  62. behavior has been dropped.
  63. * <ejbjar> task syntax has been changed significantly
  64. * <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
  65. Custom tasks that rely on Project.createTask("exec") to return an
  66. instance of this class are going to fail.
  67. * nested <include> and <exclude> elements expect the value of their
  68. name attribute to be a single pattern, they don't accept multiple
  69. patterns anymore. Split them into multiple elements of the same type.
  70. * <delete dir="somedir" /> will now delete the directory itself as
  71. well as all included files. If you just want to clean out the
  72. directory and keep the empty one, use a nested fileset.
  73. Other changes:
  74. --------------
  75. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  76. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
  77. native2ascii, copy, move, mparse.
  78. * copydir, copyfile, deltree and rename are now deprecated. They
  79. should be replaced with the new copy, delete and move tasks.
  80. * <java> uses a ClassLoader of its own in no-fork mode if a classpath is
  81. specified.
  82. * <style> will create the necessary target directories and reprocess
  83. all files if the stylesheet changes.
  84. * New data types fileset and patternset - expected to get a broader use.
  85. They, as well as PATH like structures, can now be defined on a global
  86. level and later be referenced by their id attribute.
  87. * You can specify environment variables to <exec>.
  88. * <get> can check whether a remote file is actually newer than a local
  89. copy before it starts a download (HTTP only).
  90. * Added a -logger option to allow the class which performs logging to be
  91. specified on the command line.
  92. * Added a -emacs option to tell the logger to leave out taskname adornments
  93. on log output.
  94. * <chmod> works on all files in parallel and supports multiple filesets.
  95. * <replace> can now use tokens and/or values that cross line boundaries.
  96. * build.compiler supports now jvc as well.
  97. * project specific help can now be obtained with the -projecthelp option.
  98. * Added a -debug option to make -verbose less verbose (and more useful)
  99. * Ant will now search for a file named build.xml in the parent directory
  100. and above (towards the root of the filesystem) if you didn't specify
  101. -buildfile and there is no build.xml in the current directory.
  102. * <echo> can now write to a file and accepts nested text.
  103. Fixed bugs:
  104. -----------
  105. * <chmod> didn't work when used as a directory based task.
  106. * Path, Available, Property didn't resolve relative filenames with
  107. respect to the Project's basedir.
  108. * Project didn't interpret the basedir attribute correctly in all
  109. cases.
  110. * Nested <src> in <javac> caused NullPointerException.
  111. * Corrupt Zip- and Jar-files ar now deleted if the task fails.
  112. * many more fixes we've forgotten to document here ...