Apache ant no reconoce 'for' task / macro, aunque he agregado ant-contrib a través de taskdef

Me estoy siguiendo mientras hago hormigas:

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 línea 247 es<for param="file">

Ya definido<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>, no funcionó. Luego agregué específicamente lo siguiente pero todavía no funciona.

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

yo tengoant-contrib-1.0b3.jar aC: \ Softwares \ apache-ant-1.8.4 \ lib directorio.
¿Qué falta aquí?

Respuestas a la pregunta(2)

Su respuesta a la pregunta