Changes from current Ant 1.6 CVS version to current CVS version ============================================= Changes that could break older environments: -------------------------------------------- Fixed bugs: ----------- * Translate task does not remove tokens when a key is not found. It logs a verbose message. Bugzilla Report 13936. * failed to load classes correctly. * Redirector exhibited inconsistent behavior with regard to split output. When sent to file only, files would be created in all cases; when split file-property, files were only created if writes were performed. * replacestring tokenfilter only replaced the first occurrence. * AntLikeTasksAtTopLevelTest failed on cygwin. * and are working together. Bugzilla report 27218 * I/O-intensive processes hung when executed via . Bugzilla reports 23893/26852. Other changes: -------------- * Enable to choose the regexp implementation without system property. Bugzilla Report 15390. * task lets you set the priority of the current thread; non-forking code will inherit this priority in their main thread. * has filelist support. * A new roundup attribute on and related task can be used to control whether the file modification times inside the archive will be rounded up or down (since zips only store modification times with a granularity of two seconds). The default remains to round up. Bugzilla Report 17934. * Nested file mappers and a container mapper implementation have been introduced. Additionally, the element now accepts "defined" nested FileNameMapper implementations directly, allowing a usage comparable to those of , , and . * New attribute "negate" on to invert selection criteria. * New type introduced to provide extreme I/O flexibility. Initial support for , , and tasks. Changes from Ant 1.6.1 to current Ant 1.6 CVS version ============================================= Changes that could break older environments: -------------------------------------------- Fixed bugs: ----------- * subant haltonfailure=false did not catch all failures. Bugzilla Report 27007. * macrodef @@ escaping was broken. Bugzilla Report 27069. * SQL task did not work with Informix IDS 9.2. Bugzilla Report 27162. * MacroDef did not allow attributes named 'description'. Bugzilla Report 27175. * Throw build exception if name attribute missing from patternset#NameEntry. Bugzilla Report 25982. * Throw build exception if target repeated in build file, but allow targets to be repeated in imported files. * didn't compare timestamps of source and targetfiles when using a nested . Bugzilla Report 26985. * tagdiff.xml was broken in ant 1.6.1. Bugzilla Report 27057. * if the basedir contained .. or . dirs, and the build file name contained .. or ., the basedir was set incorrectly. Bugzilla Report 26765. * regression from ant 1.5, exec task outputted two redundant trailing newlines. Bugzilla Report 27546. * NPE when running commons listener. Bugzilla Report 27373. * swallowed the stack trace of exceptions thrown by the executed program if run in the same VM. * -projecthelp swallowed (configuration) errors silently. Bugzilla report 27732. * filterset used by filtertask doesn't respect loglevel. Bugzilla Report 27568. * wrong compare used in ProjectComponent for logging. Bugzilla Report 28070. * failOnAny attribute for was broken. Bugzilla Report 28122. Other changes: -------------- * Docs fixes for xmlvalidate.html, javadoc.html, starteam. Bugzilla Reports 27092, 27284, 27554. * now accepts nested s. Bugzilla Report 26364. * Shipped XML parser is now Xerces-J 2.6.2. * Added nested file element to filelist. * spelling fixes, occurred. Bugzilla Report 27282. * add uid and gid to tarfileset. Bugzilla Report 19120. Changes from Ant 1.6.0 to Ant 1.6.1 ============================================= Changes that could break older environments: -------------------------------------------- * License is now Apache Software License 2.0 see http://www.apache.org/licenses/ for more information Fixed bugs: ----------- * Remove a recursive template call in the junit xsls that could trigger a stack overflow. It now uses Xalan extensions to call a Java class directly. Bugzilla Report 19301 * Fix spurious infinite loop detection for filters (introduced in ant 1.6.0). Bugzilla Report 23154. * Fix handling of default ant namespace for nested elements. * Fix jboss element of ejb task (introduced in ant 1.6.0). * Ant could fail to start with a NullPointerException if ANT_HOME/lib/ant-launcher.jar was part of the system CLASSPATH. * presetdef'ed types did not work with the ant-type attribute * fixed case handling of macrodef attributes and elements. Bugzilla Reports 25687 and 26225. * ignored the append attribute, Bugzilla Report 26137. * The gcj compiler adapter for failed if the destination directory didn't exist. Bugzilla Report 25856. * Ant now fails with a more useful message if a new process will be forked in a directory and that directory doesn't exist. * used to break the build on non-GUI environments. Bugzilla report 11482. * Ant 1.6.0 cannot run build scripts in directories with non-ASCII names. Bugzilla Report 26642. Other changes: -------------- * Shipped XML parser is now Xerces-J 2.6.1 * Translate task logs a debug message specifying the number of files that it processed. Bugzilla Report 13938. * has a new attribute - fixlast. Bugzilla Report 23262. * has 2 new attributes, needsresolveproperty and changeproperty. Bugzilla Report 25711. * add description attributes to macrodef attributes and elements. Bugzilla Report 24711. * Extending ClearCase Tasks : - Added an extra option to 'failonerr' to each ClearCase task/command. - Extended the functionality of cccheckout. It can check (notco) to see if the desired element is already checked out to the current view. Thus it won't attempt to check it out again. - Added three new ClearCase commands: ccmkattr, ccmkdir, ccmkelem Bugzilla Report 26253. * New condition that can be used to probe for the declaration and implementation of a task, type, preset, macro, scriptdef, whatever. As it tests for the implementation, it can be used to check for optional tasks being available. * added nested text support to * added initial support for Java 1.5. Java 1.5 is now correctly detected by Ant and treated just like Java 1.4. You can now specify source="1.5" in the task. * created new task * added support for branch logging via the tag attribute in Bugzilla Report 13510. * added support the groovy language in the script and scriptdef tasks Changes from Ant 1.5.4 to Ant 1.6.0 =================================== Changes that could break older environments: -------------------------------------------- * This version of Ant can not be built with JDK 1.1 and requires at least Java 1.2 at runtime as well. Compiling for a 1.1 target is still supported. * Targets cannot have the empty string as their name any longer. * ant.jar's manifest does no longer include a Class-Path entry, so it is no longer possible to run Ant via "java -jar ant.jar" without manually altering the CLASSPATH. Instead of that a file ant-bootstrap.jar is included in the etc directory of the binary distribution, copy this to the lib directory and use "java -jar ant-bootstrap.jar" instead if you want to run Ant without the wrapper script (not recommended). * The