Apache ant ne reconnaît pas 'for' tâche / macro, bien que j'aie ajouté ant-contrib via taskdef

Je suis arriver la suite tout en faisant ant:

Build\build.xml:247: 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.

build.xml ligne 247 est <for param="file">

Déjà défini <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>il ne fonctionne pas. Puis j'ai spécifiquement ajoutés à la suite, mais il ne fonctionne toujours pas.

<taskdef resource="net/sf/antcontrib/antcontrib.properties">
        <classpath>
            <pathelement location="${env.ANT_HOME}/lib/ant-contrib-1.0b3.jar"/>
        </classpath>
    </taskdef>

J'ai ant-contrib-1.0b3.jar à C:\Softwares\apache-ant-1.8.4\lib répertoire.
Ce qui manque ici?

source d'informationauteur Himanshu Yadav