JUnit specific tasks cannot be used with ANT even though both packages are installed. Normally, JUnit could be run from ANT by placing a copy of the jar into the ANT ext directory. However, this doesn't exist in the Gentoo disto! Could the ant run script be modified to rectify this?
*** Bug 2441 has been marked as a duplicate of this bug. ***
Send me the smallest tarball of files that exhibit this problem, and I will fix it.
the junit tasks seem to be missing from the optional.jar in the ant package. do: jar -tvf optional.jar and you will see only the empty directory.
I followed the JUnit installation instructions, but as I don't have any projects handy which use junit, I could not test it. Please merge junit-3.7-r1 and test. If it doesn't work, reopen this bug and attach a small sample project (or point me to one) that exhibits the bug in action.