Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 10, Exitcode 1 !!! compile problem !!! emerge aborting on /usr/portage/app-editors/jedit/jedit-4.0.3-r2.ebuild .
I cannot reproduce this. Do an emerge rsync, then reinstall ant, then manually check that you have four .jar files in /usr/share/ant/lib.
Sorry for being impatient, I'm cleaning out my buglist for 1.4. Please reopen the bug if you have any amendments.
VERIFIED bug: using ant 1.4.1-r3, jedit 4.0.3-r2 won't compile Tried with quoted ant version on my machine and maybe the same version on another one. Then emerged ant 1.5, now I get: >>> Source unpacked. /usr/bin/ant: line 85: syntax error: unexpected end of file !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 10, Exitcode 2 !!! compile problem
PS: (sorry for posting twice, but before you ask:) bash-2.05a# ls /usr/share/ant/lib/ ant.jar optional.jar xercesImpl.jar xml-apis.jar
Sorry for the inconvenience, it was a bug in ant. ant-1.5 is unmasked but highly broken... installing clean ant-1.4.1-r3 fixed the problem.