Apache ant не распознает задачу / макрос 'for', хотя я добавил ant-contrib через taskdef

Я получаю следующее во время сборки муравья:

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 247<for param="file">

Уже определено<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>это не сработало. Затем я специально добавил следующее, но оно все еще не работает.

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

я имеюant-contrib-1.0b3.jar вC:\Softwares\apache-ant-1.8.4\lib каталог.
Чего здесь не хватает?

Ответы на вопрос(2)

Ваш ответ на вопрос