The mxml compiler has a dependency on the name "playerglobal.swc", See compiler/CompilerSwcContext.java, line 351.
Source s = (loc.endsWith(StandardDefs.SWC_PLAYERGLOBAL) || loc.endsWith(StandardDefs.SWC_AIRGLOBAL) || loc.endsWith(StandardDefs.SWC_AVMPLUS)) ? The Falcon compiler does not have this same dependency. -Darrell On Tue, Jun 3, 2014 at 10:33 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 6/3/14 12:31 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote: > > > > >@Alex you remember us discussing a refactoring of the compiler and to > >split up the commandline-parsing and the actual compiling and providing > >an interface that I could initialize the configuration as an object and > >pass that in to the compiler? Is there any timeframe for this? Even if I > >guess I would implement support for this in the new plugin, it would be > >of great help now. I think it would be great to do this together with > >such a refactoring cause then I'd have something I could detect this > >requirement on ( if(compiler instanceof ConfigurableCompiler) { ... } > >else { do the rename hack } ) > It turns out that something like this already exists. See the > flex-compiler-oem projects for MXMLC and Falcon. > > -Alex > >