I've been struggling for a while trying to find the right settings that will let me build FlexJS from the git repositories on Windows. I've documented my steps here now that I've managed to get the flex-asjs/build.xml/binary-release ant target to work: https://github.com/adufilie/flex-dev-setup.
I had to change the flex-asjs build script a little because there was a conflict in the way GOOG_HOME was used in different places. I'd like someone to review this change before it gets incorporated: https://github.com/adufilie/flex-asjs/commit/e677c9c07309c9729749df76edb179c43c355494 Is flex-asjs/build.xml/binary-release the correct target for getting the same output we get from the FlexJS nightly build? I haven't figured out how to test the build output on my own project in the same way I can test the nightly build. Any advice on how to do that? Also, I recently fixed some errors in the flex-falcon/compiler.jx/bin scripts: https://github.com/apache/flex-falcon/commit/945449549ed91914193db852e17014cafb440c5d but it seems that these files aren't even included in the FlexJS nightly build. Should that folder be removed? Finally, the flex-asjs "all" target still doesn't work: compile-asjs: [echo] Cross-compiling Core [echo] FALCONJX_HOME: C:\asf\flex-asjs/../flex-falcon/compiler.jx [java] command line [java] unable to open 'C:\asf\flex-falcon\externs\js\out\bin\js.swc'. [java] [java] [java] command line [java] unable to open 'C:\asf\flex-falcon\externs\GCL\out\bin\GCL.swc'. [java] [java] [java] Java Result: 5 BUILD FAILED C:\asf\flex-asjs\build.xml:431: The following error occurred while executing this line: C:\asf\flex-asjs\frameworks\build.xml:79: The following error occurred while executing this line: C:\asf\flex-asjs\frameworks\build.xml:166: The following error occurred while executing this line: C:\asf\flex-asjs\frameworks\projects\Core\build.xml:120: Replace: source file C:\asf\flex-asjs\frameworks\projects\Core\js\out\org\apache\flex\events\IEventDispatcher.js doesn't exist