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

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