#1 After installing ant it wouldn't run because I had no java specified. I had to manually choose blackdown as my default jvm with java-config. Shouldn't the first installed become the default. #2 After configure the JVM ant still wouldn't run and required that I set ANT_HOME to /usr/share/ant/ and export it. This prevented me from installing postgresql and php because postgresql requires ant to work properly to compile. Once i manually resolved the issue it is ebuilding fine right now.
#1: I agree that the first JVM you install should become the default one. This is on my TODO list. #2: I cannot reproduce this. The /usr/bin/ant script explicitly sets ANT_HOME to /usr/share/ant, in ant-1.4.1-r3 (and 1.4.1-r1,2).