I remember this discussion over a year ago. Andrew Westburg, Marvin Froeder, and Paul Reilly did this:
http://www.deitte.com/archives/2009/08/flex_compiler_e.htm I don't know if it still applies, but just rang a bell. JP 2012/4/20 Bogdan DINU <[email protected]>: > Hi Serghei, > > thanks for sharing the info about subcompilers - is amazing indeed! > > Regards, > Bogdan > > On Thu, Apr 19, 2012 at 7:44 PM, Сергей aSt Егоров <[email protected]>wrote: > >> BTW, i founded way to inject SubCompiler extensions: >> >> public class MyExtension implements IPreCompileExtension { >> >> public static void main(String[] args) >> { >> } >> >> public void run(FileSpec fileSpec, SourceList sourceList, >> Collection<Source> classes, SourcePath sourcePath, ResourceContainer >> resources, ResourceBundlePath bundlePath, CompilerSwcContext >> swcContext, SymbolTable symbolTable, Configuration configuration, >> SubCompiler[] compilers, PreLink preLink, Map licenseMap, List<Source> >> sources) { >> ((As3Compiler)compilers[0]).addCompilerExtension(new >> MySubCompilerExtension()); >> >> ((MxmlCompiler)compilers[1]).addImplementationCompilerExtension(new >> MySubCompilerExtension()); >> } >> } >> >> >> It's amazing! >> >> On Thu, Apr 19, 2012 at 8:23 PM, Justin Mclean <[email protected]> >> wrote: >> > Hi, >> > >> > May also want to take a look at this. Patch for metadata extensions. >> > >> > https://bugs.adobe.com/jira/browse/SDK-26041 >> > >> > Thanks, >> > Justin >> >> >> >> -- >> С уважением, Сергей Егоров >> > > > > -- > http://www.badu.ro -- JP Bader Principal Zavteq, Inc. @lordB8r | [email protected] 608.692.2468
