One of my team member facing the problem in running the ANT contrib tasks...we just tried to use one task in the build file and below are the error thrown...
The code of the build file :- -----------------------
-----------------------
error thrown as :
------------------ [echo] The first five letters of the alphabet are:
BUILD FAILED C:\Documents and Settings\sv47906\Desktop\Test\build.xml:6: Problem: failed to create task or type for Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. -------------------------
we are working in eclipse and downloaded the ANT contrib jar file and added to ANT lib......Do i need to add any path in the code ? if it is, please give me an example of how to do it.
Can anyone help me out in executing this build file with contrib task ?
You also need to tell your build to recognize the tasks defined in the antcontrib library. To do this (if you placed the antcontrib jar file in ant's lib directory), add the following entry to your build: