some elements required for the build process
[phpeclipse.git] / build / lib / ant-contrib / README.txt
1 Ant-Contrib library
2
3 This library is for contributed Ant tasks that have
4 not been approved for inclusion into the ant core or
5 optional library.
6
7 Requirements
8 -------------------------
9 Runtime:
10         Requires APACHE Ant Version 1.5 or above.  Note, that output
11         handlers on the ForEach task will not properly report the
12         task which is outputting the message unless you are using
13         Ant version 1.5.2 or greater.
14
15         In addition, the <for> task will not work on versions prior
16         to Ant 1.6
17
18 Compilation:
19         Requires Ant Version 1.6 or greater to compile and build the
20         package.
21
22
23 Inclusion in your project
24 -------------------------
25         The easiest way to use the tasks is to use
26
27 <taskdef resource="net/sf/antcontrib/antlib.xml">
28   <classpath>
29     <pathelement location="your/path/to/ant-contrib-${version}.jar" />
30   </classpath>
31 </taskdef>
32
33 in your build file.  If the jar file is on your CLASSPATH or in
34 ANT_HOME/lib you can even simplify this to read
35
36 <taskdef resource="net/sf/antcontrib/antlib.xml" />
37
38 For projects which will run under 1.5 versions, you would
39 use the .properties file instead of the antlib.xml file:
40
41 <taskdef resource="net/sf/antcontrib/antcontrib.properties">
42   <classpath>
43     <pathelement location="your/path/to/ant-contrib.jar" />
44   </classpath>
45 </taskdef>
46