Has anyone run into jikes bug #222 (compiling large # of classes leads to ClassFormatErrors) when using ant/jikes for large projects? (For information on the bug, see http://www-124.ibm.com/developerworks/bugs/?func=detailbug&bug_id=222&group_ id=10)
I'm in the process of changing from makefiles to ant for our build, which consists of over 3000 java files. Our makefiles call jikes for each java file, so we have never run into this before. We also have a makefile in each package. With ant, I currently have a single build.xml at the top level of the project tree, which basically ends up feeding all 3000 files to jikes at once, exposing this ugly jikes bug. I've tried switching to javac, but I run out of memory trying to compile it. In any case, I'd rather stick with jikes if at all possible. Has anybody else run into this? How did you work around it? I suppose I could put a build.xml in each package, but that still wouldn't guarantee I wouldn't run into this bug again. Besides, isn't that counter to ant philosophy? Thanks, Ed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ed Howe * Software Architect * Employease, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
