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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. Changes from Ant 1.3 to CVS Version
  2. ===========================================
  3. Changes that could break older environments:
  4. --------------------------------------------
  5. * Zip.setWhenempty() has changed its signature.
  6. Fixed bugs:
  7. -----------
  8. * Testcases have been made independent of current working directory.
  9. * Input ZIP-Files will be closed when using a <zipfileset>.
  10. * p4 tasks now don't fail if user, port or client have been omitted
  11. (and this is acceptable for the context of the command).
  12. * <javah>'s outputfile attribute will be resolved as relative to the
  13. projects basedir.
  14. * <antstructure> should create a valid DTD for propertyfile.operation.entry
  15. and omit tasks it fails to load.
  16. * won't try to pass a -bootclasspath flag to javac 1.1 anymore
  17. * <style>'s style attribute no handles absolute paths correctly.
  18. Changes from Ant 1.2 to Ant 1.3
  19. ===========================================
  20. Changes that could break older environments:
  21. --------------------------------------------
  22. * Ant doesn't search for the buildfile anymore, unless you use the new
  23. -find argument.
  24. * <perforce> has been replaced by a number of new tasks.
  25. * <javac> is now implemented using a factory. This makes extending
  26. javac to use a new compiler a lot easier but may break custom
  27. versions of this task that rely on the old implementation.
  28. * The output generated by the xml formatter for <junit> has changed a
  29. little, it doesn't append " sec" in the time attribute anymore.
  30. Other changes:
  31. --------------
  32. * A GUI Frontend: Antidote. This is currently in development. At this
  33. time, this is not part of the Ant release, although the source is
  34. included if you are interested.
  35. * New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
  36. ilasm, apply, javah, several clearcase tasks, junitreport, sound
  37. * Added output attribute to <java>.
  38. * Added nested zipfileset element to <zip>
  39. * Changed <sql> so that printing is at the task level rather than
  40. the statement level.
  41. * javadoc task will pass -d flag to any doclet if the destDir attribute is
  42. given. If the doclet does not accept the -d flag then omit the destdir
  43. attribute.
  44. * <cab> can work on non-Windows platforms with the help of libcabinet.
  45. See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
  46. * <ftp> now supports passive mode.
  47. * New <mapper> data type that can be used to get influence on the
  48. target files for some tasks like <copy> or enable new types of tasks
  49. like <apply>.
  50. * <execon> provides more control over the command line now, the names
  51. of the source files are no longer required to be at the end of the
  52. command.
  53. * Style tasks will now support TraX compliant XSL processors if one is present
  54. in your classpath.
  55. * Added a failonerror to the javac task. If set to false, the build will
  56. continue even if there are compilation errors.
  57. * Added nested format elements to the tstamp task allowing additional time
  58. formats to be defined for arbitrary properties.
  59. * Added classpath attribute and nested classpath element to <property>
  60. to make the resource attribute more powerful.
  61. * ${} property expansion will now be performed on the patterns read
  62. from files specified as includesfile or excludesfile attributes.
  63. * The <tar> and <untar> tasks now support GNU format for handling paths
  64. which are greater than 100 characters in length. In addition the <tar>
  65. task now supports nested filesets through which the file permissions
  66. may be controlled.
  67. * wlrun, wlstop and ejbjar now support Weblogic 6.0
  68. * The MPasre task has been updated to work with MParse 2.0
  69. * The documentation has been significantly updated.
  70. Fixed bugs:
  71. -----------
  72. * <signjar> doesn't use deprectated methods anymore.
  73. * javadoc's failonerror attribute works again
  74. * javadoc's additionalparam attribute will now be split into separate
  75. parameters (on spaces) to allow for more than one parameter.
  76. * Changed <sql> task so that printing result sets works on Oracle
  77. * Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
  78. keppgenerated in ejbc can now be turned off
  79. * ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
  80. CMP files are included by parsing the weblogic deployment descriptor rather
  81. than relying on the naming convention used in ant 1.2
  82. * ejbjar includes super classes and super interfaces into the generated ejb
  83. jar files. The <support> nested element allows support classes to be
  84. included in the EJB jar. The toplink element should now correctly locate
  85. the toplink descriptor.
  86. * <vssget> now correctly deals with spaces in arguments
  87. * <jar> fails early if a given manifest file doesn't exist
  88. * <rmic> doesn't search for the _Skel file anymore when stubversion is
  89. set to 1.2.
  90. * <rmic> uses the the same classpath to verify a class can be rmic'd
  91. as it passes to the compiler.
  92. * org.apache.tools.mail.MailMessage (and therefore <mail>) can now
  93. handle SMTP servers sending multi line responses.
  94. * nested <classpath> elements of <taskdef> now work for <taskdef>s not
  95. nested into <target> as well.
  96. * <property> and <available> will search for the resource "foo" instead
  97. of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource
  98. name foo.
  99. * Handle build files in directories whose name contained a "#" character
  100. * <junit> can now log to files whose name contains a comma as well.
  101. * The AntClassLoader now refers to the loader which loaded it, any
  102. requests it does not handle itself. Previously these went to the
  103. primordial loader.
  104. Changes from Ant 1.1 to Ant 1.2
  105. ===============================
  106. Changes that could break older environments:
  107. --------------------------------------------
  108. * Semantics of <property> has changed again in the hope to be more
  109. intuitive. ${} expansion now happens at runtime and <property> tags
  110. living inside of targets only take effect if they are visited at
  111. runtime.
  112. As a side effect of this change, task's attributes get set at runtime
  113. not at parser time as well, which might change the results of
  114. <script>s or other custom tasks that reference other tasks by their id
  115. attribute.
  116. * copying of support files in <javac> has been removed - as well as
  117. the filtering attribute.
  118. * the <expand> and <keysubst> tasks have been removed.
  119. * the ignore and items attributes of directory based tasks have been removed.
  120. * the command line switches _not_ starting with - have been removed.
  121. * Path and EnumeratedAttribute have been moved from
  122. org.apache.tools.ant to org.apache.tools.ant.types.
  123. * the class attributes of <available>, <java>, <rmic> and <taskdef>
  124. have been removed.
  125. * the src attribute of <chmod> has been removed.
  126. * <patch> and <javadoc> have lost some of their attributes.
  127. * <java> and <cvs> have lost some undocumented attributes.
  128. * the Unix antRun script would search for command.sh in the directory
  129. it changed to and invoke this instead of command if present. This
  130. behavior has been dropped.
  131. * <ejbjar> task syntax has been changed significantly
  132. * <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
  133. Custom tasks that rely on Project.createTask("exec") to return an
  134. instance of this class are going to fail.
  135. * nested <include> and <exclude> elements expect the value of their
  136. name attribute to be a single pattern, they don't accept multiple
  137. patterns anymore. Split them into multiple elements of the same type.
  138. * <delete dir="somedir" /> will now delete the directory itself as
  139. well as all included files. If you just want to clean out the
  140. directory and keep the empty one, use a nested fileset.
  141. Other changes:
  142. --------------
  143. * New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
  144. junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
  145. native2ascii, copy, move, mparse.
  146. * copydir, copyfile, deltree and rename are now deprecated. They
  147. should be replaced with the new copy, delete and move tasks.
  148. * <java> uses a ClassLoader of its own in no-fork mode if a classpath is
  149. specified.
  150. * <style> will create the necessary target directories and reprocess
  151. all files if the stylesheet changes.
  152. * New data types fileset and patternset - expected to get a broader use.
  153. They, as well as PATH like structures, can now be defined on a global
  154. level and later be referenced by their id attribute.
  155. * You can specify environment variables to <exec>.
  156. * <get> can check whether a remote file is actually newer than a local
  157. copy before it starts a download (HTTP only).
  158. * Added a -logger option to allow the class which performs logging to be
  159. specified on the command line.
  160. * Added a -emacs option to tell the logger to leave out taskname adornments
  161. on log output.
  162. * <chmod> works on all files in parallel and supports multiple filesets.
  163. * <replace> can now use tokens and/or values that cross line boundaries.
  164. * build.compiler supports now jvc as well.
  165. * project specific help can now be obtained with the -projecthelp option.
  166. * Added a -debug option to make -verbose less verbose (and more useful)
  167. * Ant will now search for a file named build.xml in the parent directory
  168. and above (towards the root of the filesystem) if you didn't specify
  169. -buildfile and there is no build.xml in the current directory.
  170. * <echo> can now write to a file and accepts nested text.
  171. Fixed bugs:
  172. -----------
  173. * <chmod> didn't work when used as a directory based task.
  174. * Path, Available, Property didn't resolve relative filenames with
  175. respect to the Project's basedir.
  176. * Project didn't interpret the basedir attribute correctly in all
  177. cases.
  178. * Nested <src> in <javac> caused NullPointerException.
  179. * Corrupt Zip- and Jar-files ar now deleted if the task fails.
  180. * many more fixes we've forgotten to document here ...