Apache ant erkennt "for" task / macro nicht, obwohl ich über taskdef ant-contrib hinzugefügt habe
Während ich Ameisen baue, bekomme ich Folgendes mit:
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 Zeile 247 ist<for param="file">
Bereits definiert<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
Es hat nicht funktioniert. Dann habe ich speziell folgende hinzugefügt, aber es funktioniert immer noch nicht.
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${env.ANT_HOME}/lib/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
ich habeant-contrib-1.0b3.jar beimC: \ Software \ apache-ant-1.8.4 \ lib Verzeichnis.
Was fehlt hier?