The Ant-Contrib project is a collection of tasks (and at one point maybe types and other tools) for Apache Ant.
This Software is distributed under the Apache Software License.
First you must install Apache Ant itself, most of the Ant-Contrib tasks require Ant 1.5 (the final release, not a beta version) or higher to work properly. You can download Ant from Apache.
Then you need the Ant-Contrib tasks themselves. As there is no
release of these tasks yet, you have to build them from sources.
Fortunately this is easy, check out the sources (grab the
ant-contrib module from CVS), change
into the source directory of ant-contrib and type
ant. After Ant has completed, you'll find
ant-contrib-0.1.jar in the
You now have the choice:
libdirectory of your Ant installation. If you want to use one of the tasks in your own project, add the line
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>to your build file.
ant-contrib-0.1.jarin a separate location. You now have to tell Ant explicitly where to find it (say in
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <classpath> <pathelement location="/usr/share/java/lib/ant-contrib-0.1.jar"/> </classpath> </taskdef>
Copyright © 2002 Ant-Contrib Project. All rights Reserved.