same version of ANT (unmolested 1.7) in my local env and on the build agent machine... junit works locally, but on the agent I get the good old:
/opt/buildagent/temp/buildTmp/idea62637runner/test-output.xml:5: Problem: failed to create task or type junit
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-a directory added on the command line with the -lib argument
I haven't had to do anything special locally to make things work... I have copied the junit jar everywhere suggested on the agent machine, but that didn't work either.. I must be missing something obvious here...
shouldn't anything that works as an ant target for me locally work just the same in TeamCity?