Am 24.03.2011 um 17:27 schrieb Michael Dick: > On Thu, Mar 24, 2011 at 10:40 AM, Marc Logemann <l...@logemann.org> wrote: > >>> >>>> you are late. >>> Not really. The code was written two years ago, with a programmatic javac >>> compiler for debugging ;) >> >> >> thats not what i meant. I meant in following our discussion on the list ;-) >> When i am old and skilled i will check again what you mean with >> "programmatic javac compiler for debugging" :-) until that time point, i >> continue doing this poor "implement a copy/pasted processor and write some >> println statements in there" (c) hrhr. >> > > I have heard it said that "programmatic javac compiler for debugging" means > that you have a junit testcase which calls com.sun.tools.javac.Main. That > way you can debug your junit (or your own main method) and step into the > compilation process. > > -mike
ahh now i get it. This sounds smart. To be honest, i never ever dealt with com.sun.tools.javac.Main directly during my 8 years of java development ;-) My way was also quite nice because now i have my own AnnotationProcessor variant, which will stay active until you guys fix the one in the 2.1.x release... or i can use Ricks patched jar of course. Marc