Before calling ant, add JUnit to your classpath :

export CLASSPATH="$CLASSPATH:/path/to/JUnit.jar"