Otherwise I get errors like:
[junit] No tests found in nom.tam.fits.test.AsciiTableTest
because ant is not recognizing the @Test annotation.
I don't have this problem with my Gentoo ebuid, because (I think)
ANT_TASKS="ant-junit4" eant
is taking care of the classpath adjustment automatically.
</path>
<path id="test.class.path">
<pathelement location="${build}"/>
+ <pathelement location="/usr/share/junit-4/lib/junit.jar"/>
</path>
</target>
<target name="all" depends="jar,javadoc"