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
