Created attachment 373526 [details, diff] patch to "ant" from ant-1.9.2-gentoo.tar.bz2 According to http://www.gentoo.org/proj/en/java/ant-guide.xml /usr/bin/ant looks in /usr/share/ant/tasks-${PV} for tasklibs to load. However in ant-core 1.9.2 at least it looks in /usr/share/ant/tasks-1.8.2 rather than /usr/share/ant/tasks-1.9.2. I've attached a patch which I couldn't get to work in /etc/portage/patches but does make everything work. Perhaps there is a cleverer way to pick up ${PV} as suggested by the Ant guide? I found this issue by installing ant-core and ant-junit4 then attempting to run a build which depended on JUnit. It failed but after making this change to /usr/bin/ant it worked.
Old version gone. Closing