checking whether /usr/bin/ant works... no configure: error: ant does not work beast / # ant Error: JAVA_HOME is not defined correctly. We cannot execute java yep definatly broke :-(
Probably you haven't set the default JDK/JRE using java-config. Tell me if that solves the problem.
Fixed in dev-java/ant-1.4.1-r2