Jim White wrote: > Well, it probably isn't useful for JRuby, but Groovy had a similar > problem but solved it by implementing Java 5 Annotations processing as > part of it's compiler. There is even an example by Danno Ferrin > (Grape's "@grab" annotation) which hooks into an early compiler phase to > pull in classpath dependencies. I believe all this Groovy compiler and > language extension stuff is being standardized (as far as Groovy is > concerned that is) around the Groovy AST API.
I've considered doing the same, but the compiler I need to hook into is javac, not JRuby's compiler. Groovy has a different situation because they want to process annotations in Groovy code, not in Java code. I need cross-JDK annotation processing of annotations in JRuby's Java code, unfortunately. - Charlie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---