My point was, hacking meant "testing" alternatives. We found there is no alternative, if Alex has an answer it would be news to me. :)
Mike On Sat, May 9, 2015 at 7:43 AM, Christofer Dutz <christofer.d...@c-ware.de> wrote: > Well I don't want to do any hacking as we are in the position to change > things, that are not working. So I guess a hack around this isn't a good > idea. Hopefully Alex will be able to shed some light on this. > > Chris > > ________________________________________ > Von: Michael Schmalle <teotigraphix...@gmail.com> > Gesendet: Samstag, 9. Mai 2015 13:17 > An: dev@flex.apache.org > Betreff: Re: [FlexJS] Does the FlexJS compiler need the playerglobal? > > When doing the Randori compiler 2 years ago, we ran into this same issue. > It seems you cannot escape the fact playerglobal must be compiled. > > It was kind of weird having to use it in a non flash based framework. We > tried a bunch of hacks to simulate Object, but it never worked. > > Mike > > On Sat, May 9, 2015 at 6:08 AM, Christofer Dutz <christofer.d...@c-ware.de > > > wrote: > > > Hi, > > > > > > I am continuing my work on Flexmojos FlexJS support and am doing the > > fine-tuning. > > > > One of the things I was currently working on, is making Flexmojos not > > enforce the presence of a global artifact if the compiler is set to > FlexJS. > > After finishing my work on this I noticed, that FlexJS won't compile if > the > > playerglobal is missing. > > > > > > I am then getting this: > > > > > > [INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf > > (default-compile-swf) @ flexjs-hello-world --- > > [INFO] Flexmojos 7.1.0-SNAPSHOT > > [INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file > > [WARNING] No themes are explicitly defined in the <theme> section or in > > any scope="theme" dependencies. Flexmojos is now attempting to figure out > > which themes to include. (to avoid this warning you should explicitly > state > > your theme dependencies) > > Missing builtin type Object > > > > Unable to build SWF > > > /Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugin/examples/flexjs/flexjs-hello-world/target/flexjs-hello-world-1.0.0-SNAPSHOT > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 2.910s > > [INFO] Finished at: Sat May 09 12:07:36 CEST 2015 > > [INFO] Final Memory: 16M/316M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf > > (default-compile-swf) on project flexjs-hello-world: Execution > > default-compile-swf of goal > > net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf > failed: > > Output file doesn't exist and no error was thrown by the compiler! -> > [Help > > 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > > > > Process finished with exit code 1 > > > > ?Any ideas? > > > > Chris > > > > >