JWare/AntXtras Svn4Ant Version 2.0.0, Release Dec 2009 ----------------------------------- This document contains the major Svn4Ant version change notes. For the most recent information, visit the website at http://antxtras.sourceforge.net. ------------------------------------------------------------------------------ This version of Svn4Ant represents the migration from the old v1 series to a new 'v2' foundation based on the (also new) v2 AntXtras library. The underlying SVNKit is still of the old 1.1.x series to ensure there is at least one major Svn4Ant distribution that works with this SVNKit before we migrate to the SVNKit 1.2.x series (based on Subversion 1.5 or newer). This release concentrates on this migration; it contains very little new functionality. CHANGES IN 2.0.0: ------------------- => Added 'precommithook' option to the and tasks. You can set this attribute to a local macrodef's name and Svn4Ant will call this macro (passing in a single 'workingcopy' parameter) before it does the commit. CHANGES IN 2.0.0b1: ------------------- => [INCOMPAT] Changed the distributed jar file names. The new Svn4Ant distribution includes the jar files shown below. Note that the admin components are now in their own jar file. + jw-svn4ant.jar (Most used client components like ) + jw-svn4ant-admin.jar (Admin components like ) EXAMPLE: Defining a custom Svn4Ant 2.0.0 classpath: ...[other dependencies] => [INCOMPAT] Repackaged entire Svn4Ant distribution under the 'org.jwaresoftware.svn4ant' namespace. See the Svn4Ant antlib.xml files for details. You can use the new 'antlib-ns.xml' antlib file if you want to load Svn4Ant under a custom namespace. The preferred xmlns prefix is 'svn:' and the preferred xmlns URI is 'jware.svnant'. EXAMPLE: Loading Svn4Ant client antlib from a classpath (above): => [INCOMPAT] Upgraded to use the new v2 AntXtras series and SvnKit 1.1.8. See the Svn4Ant download page for the list of Svn4Ant third-party dependencies. Certain Svn4Ant features have been redone to make them compatible with AntXtras v2; in particular, the old Svn4Ant 'valueURIs' have been renamed as function shortcuts. Both the $os: and $loadfile: function shortcuts have been removed from Svn4Ant-- they are now part of the standard AntXtras distribution. -SSMC