I literally wasted 2 hours trying to get ant junit task working. First, I had trouble finding ant-junit.jar
file but I managed to find it in a maven page. After that I put it several places(~/.ant/lib
, /usr/share/ant/lib
) but no luck.. I'm still getting this error:
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
This looks like one of Ant's optional components.
So I'm looking for:
- Official web page to download ant junit task files
- Correct place to put that file.