I just renamed the defines for conditional compilation, for more clarity, see the last commit.
Thanks to you for trying to figure this out ! Frédéric THOMAS ---------------------------------------- > From: e...@ixsoftware.nl > Date: Tue, 30 Jun 2015 17:45:21 +0200 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > To: dev@flex.apache.org > > Thanks Alex and Fred, > > I'm hacking... see if I can figure this stuff out :-) > > EdB > > > > On Tue, Jun 30, 2015 at 5:34 PM, Frédéric THOMAS <webdoubl...@hotmail.com> > wrote: > >> I published the 2 projects, the App and the Lib: >> https://github.com/doublefx/FlexJS-Externs-Tests >> >> I use the configuration generated by intellij to build it, you will need >> to figure out how to do it manually, maybe that will help: >> >> 1- build the HtmlContainer JS, with the default settings, see the >> jsc.bat, add JS.swc as -external-library-path and add: >> >> -define+=CONFIG::AS,false -define+=CONFIG::JS,true -js-output-type=FLEXJS >> -keep-asdoc >> >> 2- build the HtmlContainer SWC, with the default settings, see the >> jsc.bat, add JS.swc as -external-library-path and add: >> >> -define+=CONFIG::AS,true -define+=CONFIG::JS,false -include-file=<Your >> HtmlContainer JS output dir>\js\out\HtmlContainer.js >> >> 3- build the main application with the default settings, see the jsc.bat, >> add JS.swc, jquery-1.9.swc as -external-library-path and the HtmlContainer >> as -library-path and this option >> -js-output-type=FLEXJS >> >> Note: If I include the HtmlContainer project as -external-library-path, >> its code is not included in the Main.js in js-release, as -library-path yes. >> >> Thanks, >> Frédéric THOMAS >> >> >> ---------------------------------------- >>> From: aha...@adobe.com >>> To: dev@flex.apache.org >>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we >> now have 1.9 in AS >>> Date: Tue, 30 Jun 2015 14:56:46 +0000 >>> >>> He posted his .AS in one of the four links. That and the js.swc and >>> jquery.swc should be all the ingredients. >>> >>> -Alex >>> >>> On 6/30/15, 7:44 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote: >>> >>>>I was hoping to get my hands on Fred's AS project. I want to run that >>>>through the new compiler and have a long look at the output JS - debug >> and >>>>release - to see if that looks like something that still makes sense from >>>>a >>>>GCC point of view. >>>> >>>>EdB >>>> >>>> >>>> >>>>On Tue, Jun 30, 2015 at 4:39 PM, Alex Harui <aha...@adobe.com> wrote: >>>> >>>>> >>>>> >>>>> On 6/30/15, 7:28 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote: >>>>> >>>>>>GCC no likey ;-) >>>>>> >>>>>>Can I maybe have a look at the example project? I've been gone for a >>>>>>while, >>>>>>but if I'm correct I should be able to get the latest stuff from Git, >>>>>>build >>>>>>and then compile this AS project from the command line, correct? Or do >>>>>I >>>>>>have to set it up in an IDE? That would mean a large hurdle to get >>>>>back in >>>>>>the game for a bit :-( >>>>> >>>>> Command line should be ok. Most folks are running jsc.bat or some >>>>> variant. From a quick look at the code, there is already an >>>>> -externs-js-lib option for FalconJX, but I think task is to also >> include >>>>> JS files found in SWCs in the -external-library-path as well. There is >>>>> already code that picks up JS files found in SWCs in the -library-path. >>>>> >>>>> I can do it if you or Fred don’t have cycles. >>>>> >>>>> -Alex >>>>> >>>>> >>>> >>>> >>>>-- >>>>Ix Multimedia Software >>>> >>>>Jan Luykenstraat 27 >>>>3521 VB Utrecht >>>> >>>>T. 06-51952295 >>>>I. www.ixsoftware.nl >>> >> >> > > > > -- > Ix Multimedia Software > > Jan Luykenstraat 27 > 3521 VB Utrecht > > T. 06-51952295 > I. www.ixsoftware.nl