the build dies with Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
The actual problem is with ant ebuild. It doens't install correctly. I'll submit an ant fix soon.
just linking Bug #514 to this one.
This was caused due to an outdated version of the jdk being merged before ant, closing bug.