http://ant-contrib.sourceforge.net/ |
Contents
What's this?
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.
Installation
First you must install Apache Ant itself, most of the Ant-Contrib tasks require Ant 1.5 or higher to work properly. You can download Ant from Apache.Ant-contrib releases are available at the downloads page. Mailing lists, CVS and bug trackers can be accessed from the project page.
See the cc tasks for installation instructions for cpptasks. To install ant-contrib:
- Copy
ant-contrib-0.3.jar
to thelib
directory of your Ant installation. If you want to use one of the tasks in your own project, add the lines<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
to your build file. - Keep
ant-contrib-0.3.jar
in a separate location. You now have to tell Ant explicitly where to find it (say in/usr/share/java/lib
):<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <classpath> <pathelement location="/usr/share/java/lib/ant-contrib-0.3.jar"/> </classpath> </taskdef>
Nessun commento:
Posta un commento