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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Changes from Ant 1.1 to the current sources
  2. Changes that could break older environments:
  3. --------------------------------------------
  4. * copying of support files in <javac> has been removed - as well as
  5. the filtering attribute.
  6. * the <expand> and <keysubst> tasks have been removed.
  7. * the ignore and items attributes of directory based tasks have been removed.
  8. * the command line switches _not_ starting with - have been removed.
  9. * Path and EnumeratedAttribute have been moved from
  10. org.apache.tools.ant to org.apache.tools.ant.types.
  11. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  12. have been removed.
  13. * the src attribute of <chmod> has been removed.
  14. * <patch> and <javadoc> have lost some of their attributes.
  15. * <java> and <cvs> have lost some undocumented attributes.
  16. * the Unix antRun script would search for command.sh in the directory
  17. it changed to and invoke this instead of command if present. This
  18. behavior has been dropped.
  19. * <ejbjar> task syntax has been changed significantly
  20. Other changes:
  21. --------------
  22. * New tasks: antstructure, cab, execon, ftp, genkey, junit, sql, javacc, jjtree, starteam.
  23. * New tasks mparse pending documentation.
  24. * <java> uses ClassLoader of its own in no-fork mode if a classpath is
  25. specified.
  26. * <style> will create the necessary target directories and reprocess
  27. all files if the stylesheet changes.
  28. * New data types fileset and patternset - expected to get a broader use.
  29. * You can specify environment variables to <exec>.
  30. * <get> can check whether a remote file is actually newer than a local
  31. copy before it starts a download (HTTP only).
  32. * Added a -logger option to allow the class which performs logging to be
  33. specified on the command line.
  34. * Added a -emacs option to tell the logger to leave out taskname adornments
  35. on log output.
  36. * <chmod> works on all files in parallel and supports multiple filesets.
  37. * <replace> can now use tokens and/or values that cross line boundaries.
  38. * <ejbc> optional task no longer uses a separate VM to invoke the ejbc tool.
  39. * project specific help can now be obtained with the -projecthelp option.
  40. Fixed bugs:
  41. -----------
  42. * <chmod> didn't work when used as a directory based task.
  43. * Path, Available, Property didn't resolve relative filenames with
  44. respect to the Project's basedir.
  45. * Project didn't interpret the basedir attribute correctly in all
  46. cases.
  47. * Nested <src> in <javac> caused NullPointerException.
  48. * Corrupt Zip- and Jar-files ar now deleted if the task fails.