Our build uses the ant-contrib <for> task, and I'm having trouble getting the reference to the jar to work.
The build script includes the line:
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
so if the ant-contrib.jar is in the class path, things should work fine. But during the build, I get the error:[for] 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.
* putting ant-contrib.jar into $AGENT$/plugins/ant/lib
* changing build configuration, Ant runner, to specify -lib /absolute/path/to/ant-contrib.jar in the Additional Ant command line parameters
neither of those fixed the issue. I see this old discussion: http://devnet.jetbrains.net/message/5133573#5133573
but there is no longer a ant165.jar in the specified location on the TeamCity server.
What's the recommended approach for getting this working?