Compiler extension for metadata processing
This is carry over discussion from: http://bugs.adobe.com/jira/browse/SDK-18718
I'm looking to do some custom metadata processing in a compiler extension. There is an old extension mechanism and a newer one. I think either would work for me but I do have some questions. I'm hoping to trailblaze metadata processing and make my work public for anyone to use. I've already heard from one Flex framework developer whose looking for the same functionality. Ideally, I can come up with capabilities that rival Java's annotation processing and everyone can benefit.
First question: Using either of the extension mechanisms, can I report a compilation error complete with line number and error message?
Second question: Has anyone put any thought into using these extension mechanisms within FlashBuider. I'm an experienced Eclipse plug-in developer and these compiler extensions don't make much sense if they can't be added to a FB workbench. The newer extension mechanism allows you to add a jar for an extension via the compiler arguments, but I'm not sure this makes much sense when running inside Eclipse. Ideally, the FlashBuilder compiler code would provide an Eclipse extension point for compiler extensions.
I'm eager and willing to do the necessary work to make this possible including providing patches,etc. Heck I'd even be willing to do the work required to add an extension point in FB.
