Friday, December 22, 2006

Some features of Ant 1.7.0

Ant 1.7.0 has just been released. It includes a long
list of fixes and it includes a new resource framework.

Some of the new features that have not got highlighed
are:
  1. Support for junit.jar in the <junit> classpath element, this means that there is now no need to place the junit.jar in $ANT_HOME/lib.
  2. Support for junit4.
  3. Support for javax scripting. This is done by using a 'manager="javax"' attribute in the <script> task.
  4. Scripting language jars can now be placed in the <script> classpath element. This means that these jars do not need to be placed in $ANT_HOME/lib. (This does not work for javascript and jython jars - will be fixed in Ant 1.7.1)
  5. Script support for conditions, filters, mappers, selectors added.
  6. Antversion condition added - scripts can how make sure that they are run by a supported version of ant.
  7. Memory leakages plugged for <*ant*>