Oh gee ... this looks like a lot of work :-( Why do we need an explicit reference to the closure lib? I added this as dependency to the pom of falcon.jx so it should be available out of the box. Same with the path to playerglobal as this is usually a dependency of the flex project and hereby passed in to the compiler via command-line arguments.
So assuming I have a module and I want to compile it the usual way with Flacon, I don't need the js-output-type and sdk-js-lib options but compile it normally with Falcon ... the output would be a SWF/SWC as usual. But if I want some JS output, I have to use the other COMPJSC and MXMLJSC and provide these additional arguments? Chris ________________________________________ Von: Erik de Bruin <e...@ixsoftware.nl> Gesendet: Mittwoch, 5. November 2014 11:33 An: dev@flex.apache.org Betreff: Re: [FALCONJX] Added maven artifact generation for falcon.jx ... what now? > > Now If I add a "compilerClass"property to Flexmojos and point that to > COMPJSC, I should be able to use FalconJX in Flexmojos. But could you > please explain what else needs to be done in order to use FlexJS and VF2JS? > As far as I understood in order to use FlexJS I would need to reference the > flex-asjs library instead of the normal flex framework libraries (Hope > that's correct), but what would I need to do to use VF2JS? I am expecting > to be able to continue to use the normal Flex Framework libraries. > In order to use either of the 2 JS implementations, you need to add several command line arguments: -js-output-type=FlexJS (or VF2JS) -sdk-js-lib="[pathToJSLib]" -closure-lib="[pathToGoogleClosureLibrary]" in addition to the 'regular' command line arguments: +env.PLAYERGLOBAL_HOME="[pathToPlayerGlobal]" +playerglobal.version=15.0 -load-config="[pathToFlexSDK]/frameworks/flex-config.xml" -output="[pathToOutputDir]" "[pathToProjectFile]" EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl