When I use a Java IDE to build projects (e.g. NetBeans) that have JUnit tests, they compile fine, but when I try to use ant outside of the IDE to run the build script, I get
Late answer here.
Copy the junit.jar file to the ${ANT_HOME}/lib folder.