OK, got it working well enough to have a look at both the debug and release
code (nice example, Fred!).

Fixed some issues that were preventing the release code to work. It still
doesn't, but we're closer ;-)

Will look further into this tonight.

EdB



On Wed, Jul 1, 2015 at 7:08 AM, Frédéric THOMAS <webdoubl...@hotmail.com>
wrote:

> And because I couldn't sleep, I use now a .gitignore in the project and  a
> ConsoleLogger in Falcon !
>
> Frédéric THOMAS
>
>
> ----------------------------------------
> > From: webdoubl...@hotmail.com
> > To: dev@flex.apache.org
> > Subject: RE: [FlexJS] js.release issue (was:RE: [FalconJX FlexJS] JQuery
> up and running, a nightmare but we now have)
> > Date: Wed, 1 Jul 2015 02:31:16 +0100
> >
> > 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
> >
>
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to