javacc can only be compiled using jdk 1.5 when source="1.4" and target="1.4" is added to all build.xml files
Created attachment 44501 [details] javacc-3.2-r3.ebuild this ebuild calls epatch in src_unpack() and patched the build.xml's
Created attachment 44502 [details, diff] javacc-buildxml.patch the patch itself =)
closing this one because we can rewrite the build.xml in the near future using compnerd's python tool. that makes this patching unnecessary.
sorry....but actually with jdk 1.5 it's broken. so...or you apply this patch (i tested it works perfectly) or you change it with python, but please do not leave it as now. thx