Apache ant nie rozpoznaje zadania / makra for, chociaż dodałem ant-contrib poprzez taskdef
Dostaję śledzenie podczas budowy mrówek:
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.
wiersz build.xml 247 to<for param="file">
Już zdefiniowane<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
, to nie zadziałało. Potem specjalnie dodałem następujące, ale nadal nie działa.
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${env.ANT_HOME}/lib/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
mamant-contrib-1.0b3.jar wC: Oprogramowanie apache-ant-1.8.4 lib informator.
Czego tu brakuje?