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 4.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Changes from Ant 1.2 to the current sources
  2. ===========================================
  3. Other changes:
  4. --------------
  5. * New tasks: propertyfile
  6. Fixed bugs:
  7. -----------
  8. * <signjar> doesn't use deprectated methods anymore.
  9. Changes from Ant 1.1 to Ant 1.2
  10. ===============================
  11. Changes that could break older environments:
  12. --------------------------------------------
  13. * Semantics of <property> has changed again in the hope to be more
  14. intuitive. ${} expansion now happens at runtime and <property> tags
  15. living inside of targets only take effect if they are visited at
  16. runtime.
  17. As a side effect of this change, task's attributes get set at runtime
  18. not at parser time as well, which might change the results of
  19. <script>s or other custom tasks that reference other tasks by their id
  20. attribute.
  21. * copying of support files in <javac> has been removed - as well as
  22. the filtering attribute.
  23. * the <expand> and <keysubst> tasks have been removed.
  24. * the ignore and items attributes of directory based tasks have been removed.
  25. * the command line switches _not_ starting with - have been removed.
  26. * Path and EnumeratedAttribute have been moved from
  27. org.apache.tools.ant to org.apache.tools.ant.types.
  28. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  29. have been removed.
  30. * the src attribute of <chmod> has been removed.
  31. * <patch> and <javadoc> have lost some of their attributes.
  32. * <java> and <cvs> have lost some undocumented attributes.
  33. * the Unix antRun script would search for command.sh in the directory
  34. it changed to and invoke this instead of command if present. This
  35. behavior has been dropped.
  36. * <ejbjar> task syntax has been changed significantly
  37. * <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
  38. Custom tasks that rely on Project.createTask("exec") to return an
  39. instance of this class are going to fail.
  40. * nested <include> and <exclude> elements expect the value of their
  41. name attribute to be a single pattern, they don't accept multiple
  42. patterns anymore. Split them into multiple elements of the same type.
  43. * <delete dir="somedir" /> will now delete the directory itself as
  44. well as all included files. If you just want to clean out the
  45. directory and keep the empty one, use a nested fileset.
  46. Other changes:
  47. --------------
  48. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  49. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
  50. native2ascii, copy, move, mparse.
  51. * copydir, copyfile, deltree and rename are now deprecated. They
  52. should be replaced with the new copy, delete and move tasks.
  53. * <java> uses a ClassLoader of its own in no-fork mode if a classpath is
  54. specified.
  55. * <style> will create the necessary target directories and reprocess
  56. all files if the stylesheet changes.
  57. * New data types fileset and patternset - expected to get a broader use.
  58. They, as well as PATH like structures, can now be defined on a global
  59. level and later be referenced by their id attribute.
  60. * You can specify environment variables to <exec>.
  61. * <get> can check whether a remote file is actually newer than a local
  62. copy before it starts a download (HTTP only).
  63. * Added a -logger option to allow the class which performs logging to be
  64. specified on the command line.
  65. * Added a -emacs option to tell the logger to leave out taskname adornments
  66. on log output.
  67. * <chmod> works on all files in parallel and supports multiple filesets.
  68. * <replace> can now use tokens and/or values that cross line boundaries.
  69. * build.compiler supports now jvc as well.
  70. * project specific help can now be obtained with the -projecthelp option.
  71. * Added a -debug option to make -verbose less verbose (and more useful)
  72. * Ant will now search for a file named build.xml in the parent directory
  73. and above (towards the root of the filesystem) if you didn't specify
  74. -buildfile and there is no build.xml in the current directory.
  75. * <echo> can now write to a file and accepts nested text.
  76. Fixed bugs:
  77. -----------
  78. * <chmod> didn't work when used as a directory based task.
  79. * Path, Available, Property didn't resolve relative filenames with
  80. respect to the Project's basedir.
  81. * Project didn't interpret the basedir attribute correctly in all
  82. cases.
  83. * Nested <src> in <javac> caused NullPointerException.
  84. * Corrupt Zip- and Jar-files ar now deleted if the task fails.
  85. * many more fixes we've forgotten to document here ...