The ant-1.5.1.r1 ebuild does not build the optional Junit tasks even if junit has been emerged. The attached ebuild fixes that. We might also want to add an einfo message to the junit ebuild telling the user to re-emerge ant if they want to use the junit-related ant tasks.
Created attachment 5435 [details] ant-1.5.1-r2.ebuild Note that this ebuild also requires the 1.5.1 ant file in the files directory; it is unchanged from 1.5.1-r1.
We should see the comment on this bug that we need a post depend on ant and junit, see comment #1. Thats why im not closing it.
Ryan's changes have been merged into the 1.5.3-r2 ebuild. Belated thanks and sorry this took so long. I was not aware of it until now.