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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Changes from Ant 1.1 to the current sources
  2. Changes that could break older environments:
  3. --------------------------------------------
  4. * Semantics of <property> has changed again in the hope to be more
  5. intuitive. ${} expansion now happens at runtime and <property> tags
  6. living inside of targets only take effect if they are visited at
  7. runtime.
  8. As a side effect of this change, task's attributes get set at runtime
  9. not at parser time as well, which might change the results of
  10. <script>s or other custom tasks that reference other tasks by their id
  11. attribute.
  12. * copying of support files in <javac> has been removed - as well as
  13. the filtering attribute.
  14. * the <expand> and <keysubst> tasks have been removed.
  15. * the ignore and items attributes of directory based tasks have been removed.
  16. * the command line switches _not_ starting with - have been removed.
  17. * Path and EnumeratedAttribute have been moved from
  18. org.apache.tools.ant to org.apache.tools.ant.types.
  19. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  20. have been removed.
  21. * the src attribute of <chmod> has been removed.
  22. * <patch> and <javadoc> have lost some of their attributes.
  23. * <java> and <cvs> have lost some undocumented attributes.
  24. * the Unix antRun script would search for command.sh in the directory
  25. it changed to and invoke this instead of command if present. This
  26. behavior has been dropped.
  27. * <ejbjar> task syntax has been changed significantly
  28. * build.compiler supports now jvc as well.
  29. Other changes:
  30. --------------
  31. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  32. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate, native2ascii.
  33. * New tasks mparse pending documentation.
  34. * <java> uses ClassLoader of its own in no-fork mode if a classpath is
  35. specified.
  36. * <style> will create the necessary target directories and reprocess
  37. all files if the stylesheet changes.
  38. * New data types fileset and patternset - expected to get a broader use.
  39. They as well as PATH like structures can now be defined on a global
  40. level and later be referenced by their id attribute.
  41. * You can specify environment variables to <exec>.
  42. * <get> can check whether a remote file is actually newer than a local
  43. copy before it starts a download (HTTP only).
  44. * Added a -logger option to allow the class which performs logging to be
  45. specified on the command line.
  46. * Added a -emacs option to tell the logger to leave out taskname adornments
  47. on log output.
  48. * <chmod> works on all files in parallel and supports multiple filesets.
  49. * <replace> can now use tokens and/or values that cross line boundaries.
  50. * <ejbc> optional task no longer uses a separate VM to invoke the ejbc tool.
  51. * project specific help can now be obtained with the -projecthelp option.
  52. * Added a -debug option to make -verbose less verbose (and more useful)
  53. * Ant will now search for a file named build.xml in the parent directory
  54. and above (towards the root of the filesystem) if you didn't specify
  55. -buildfile and there is no build.xml in the current directory.
  56. Fixed bugs:
  57. -----------
  58. * <chmod> didn't work when used as a directory based task.
  59. * Path, Available, Property didn't resolve relative filenames with
  60. respect to the Project's basedir.
  61. * Project didn't interpret the basedir attribute correctly in all
  62. cases.
  63. * Nested <src> in <javac> caused NullPointerException.
  64. * Corrupt Zip- and Jar-files ar now deleted if the task fails.