Skip to content

cniweb/ant-contrib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ant-contrib Build Status

A home for additional useful tasks and types for Ant . 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 ant.apache.org

See the cc tasks for installation instructions for cpptasks.

###To install ant-contrib:

Copy ant-contrib-x.x.jar to the lib 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-x.x.jar in a separate location. You now have to tell Ant explicitly where to find it (say in ./ant-extra-libs):

<taskdef resource="net/sf/antcontrib/antcontrib.properties">
  <classpath>
    <pathelement location="/usr/share/java/lib/ant-contrib-x.x.jar"/>
  </classpath>
</taskdef>

Ducumentation

Ant-Contrib Tasks