And I even pushed it if it can make your life easier. Frédéric THOMAS
---------------------------------------- > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: [FlexJS] js.release issue (was:RE: [FalconJX FlexJS] JQuery up and > running, a nightmare but we now have) > Date: Wed, 1 Jul 2015 02:25:56 +0100 > > I'm starting a new thread because that was a new subject and I hope my > outlook web mail won't duplicated my post here, what a shitty thing. > >> I'll wait for a sensible tip, or a more thorough writeup before trying > > again. > > > Actually, I never tried before to compile via the command line, so, I > tried and I realised I haven't any ConsoleLogger by default and > everything has been done only for IntelliJ, I guess I could remedy that > in the future, therefore, either you use the trial version of IntelliJ > or you are lucky with that, it works for me: > > > ----------- > > build.bat > > ----------- > > > set FALCON_HOME=U:/sources/asf/flex/falcon > > set FLEX_HOME=U:/sources/asf/flex/asjs > > set PROJECT_HOME=U:/sources/flexJsProjects/testJsSwc > > set > FALCON_CLASSPTH=%FALCON_HOME%/compiler/generated/dist/sdk/lib/*;%FALCON_HOME%/compiler.jx/lib/*;%FALCON_HOME%/compiler.jx/lib/google/closure-compiler/* > > set CLOSURE_LIBRARY=U:/sources/google/closure-library > > > > java -cp "%FALCON_CLASSPTH%" > -Dflexlib="%FLEX_HOME%\frameworks" flex2.tools.Compc > -external-library-path=%FALCON_HOME%/externs/js/out/bin/js.swc > -define+=COMPILE::AS3,false -define+=COMPILE::JS,true > -js-output-type=FLEXJS -source-path=%PROJECT_HOME%/HtmlContainer/src > -include-classes HtmlContainer > -output=%PROJECT_HOME%/bin/HtmlContainer\fake.swc > > > java -cp "%FALCON_CLASSPTH%" -Dflexlib="%FLEX_HOME%\frameworks" > flex2.tools.Compc > -external-library-path=%FALCON_HOME%/externs/js/out/bin/js.swc > -define+=COMPILE::AS3,true -define+=COMPILE::JS,false > -include-file=js/out/*,%PROJECT_HOME%/bin/HtmlContainer/js/out > -source-path=%PROJECT_HOME%/HtmlContainer/src -include-classes > HtmlContainer -output=%PROJECT_HOME%/bin/HtmlContainer\HtmlContainer.swc > > > java -cp "%FALCON_CLASSPTH%" -Dflexlib="%FLEX_HOME%\frameworks" > flex2.tools.Mxmlc -load-config=%FLEX_HOME%/frameworks/flex-config.xml > -closure-lib=%CLOSURE_LIBRARY% > -sdk-js-lib=%FLEX_HOME%/frameworks/js/FlexJS/libs > -external-library-path=%FALCON_HOME%/externs/js/out/bin/js.swc > -external-library-path=%FALCON_HOME%/externs/js/out/bin/js.swc > -external-library-path=%FALCON_HOME%/externs/jquery/out/bin/jquery-1.9.swc > -library-path=%PROJECT_HOME%/bin/HtmlContainer\HtmlContainer.swc > -js-output-type=FLEXJS %PROJECT_HOME%/src/Main.as > -output=%PROJECT_HOME%/bin/ExternsApp > > > Just careful in setting the variables because you won't have any output. > > > Frédéric THOMAS