>> The devil is in the details, as always, I guess. And you are right, so :
> @Committers: > I was planning to have the default behaviours of the compilateurs to automaticaly build the JS / SWC if none of the js-output-type was supplied and the defines COMPILE::JS and COMPILE:AS3 were set to "AUTO", any objections ? I meant Build JS / SWC or JS / SWF It would be like compiling with FLEXJS_DUAL output type but working with conditional compilation if those defines are set to "AUTO" Frédéric THOMAS ---------------------------------------- > From: webdoubl...@hotmail.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 21:27:45 +0100 > >> Nasty Fred ;-) >> >> your instructions say: -define+=CONFIG::AS >> >> but in the .as file, it says: COMPILE::AS3 >> >> The devil is in the details, as always, I guess. > > Just got your email now, I'm sorry Erik, maybe I should had added more > details [1] and I didn't catch that you didn't change it in the following > emails. > > @Committers: > I was planning to have the default behaviours of the compilateurs to > automaticaly build the JS / SWC if none of the js-output-type was supplied > and the defines COMPILE::JS and COMPILE:AS3 were set to "AUTO", any > objections ? > > Frédéric THOMAS > > [1] > http://apache-flex-development.2333347.n4.nabble.com/FalconJX-FlexJS-JQuery-up-and-running-a-nightmare-but-we-now-have-1-9-in-AS-tp47961p48355.html > > ---------------------------------------- >> From: e...@ixsoftware.nl >> Date: Tue, 30 Jun 2015 20:57:27 +0200 >> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now >> have 1.9 in AS >> To: dev@flex.apache.org >> >> Ah, >> >> Nasty Fred ;-) >> >> your instructions say: -define+=CONFIG::AS >> >> but in the .as file, it says: COMPILE::AS3 >> >> The devil is in the details, as always, I guess. >> >> EdB >> >> >> >> On Tue, Jun 30, 2015 at 8:44 PM, Erik de Bruin <e...@ixsoftware.nl> wrote: >> >>> Nope, nothing. Still no compiler defines recognized on the first step >>> (creating HtmlContainer.js): >>> >>> java -Xmx384m -Dsun.io.useCanonCaches=false -jar >>> ${LOCAL_ROOT}/git/flex-falcon/compiler.jx/lib/mxmlc.jar >>> +flexlib=${LOCAL_ROOT}/git/flex-sdk/frameworks >>> -closure-lib=${LOCAL_ROOT}/dependencies/GoogleClosure/library >>> -sdk-js-lib=${LOCAL_ROOT}/git/flex-asjs/frameworks/js/FlexJS/libs >>> -external-library-path=${LOCAL_ROOT}/git/flex-falcon/externs/js/out/bin/js.swc >>> -define+=CONFIG::AS,false -define+=CONFIG::JS,true -js-output-type=FLEXJS >>> -keep-asdoc ./HtmlContainer.as >>> >>> That is my command I'm hoping will do the job. Back to bare bones, no >>> helper scripts with confusing and incomplete arguments etc. >>> >>> What am I doing wrong? >>> >>> EdB >>> >>> >>> >>> On Tue, Jun 30, 2015 at 8:16 PM, Frédéric THOMAS <webdoubl...@hotmail.com> >>> wrote: >>> >>>>>> Now if I feed the arguments you suggested to 'jsc', the compiler >>>> defines >>>>>> don't take... I get: >>>>>> >>>>>> Access of possibly undefined property COMPILE. >>>>>> COMPILE::JS >>>>> >>>>> Try compc.jar in the generated/dist/sdk/lib >>>> >>>> I guess it will work if you replace the %FALCON_HOME%\lib\mxmlc.jar with >>>> the path to compc.jar for the lib and the flex-compiler-oem.jar for the app >>>> >>>> Frédéric THOMAS >>>> >>>> >>>> ---------------------------------------- >>>>> From: webdoubl...@hotmail.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 18:57:30 +0100 >>>>> >>>>>> I figured out how to build the js SWCs, thanks. >>>>> >>>>> In case you would want to build the full app, you would need to build >>>> jquery too. >>>>> >>>>>> Now if I feed the arguments you suggested to 'jsc', the compiler >>>> defines >>>>>> don't take... I get: >>>>>> >>>>>> Access of possibly undefined property COMPILE. >>>>>> COMPILE::JS >>>>> >>>>> Try compc.jar in the generated/dist/sdk/lib >>>>> >>>>> Frédéric THOMAS >>>>> >>>>> >>>>> ---------------------------------------- >>>>>> From: e...@ixsoftware.nl >>>>>> Date: Tue, 30 Jun 2015 19:47:13 +0200 >>>>>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >>>> we now have 1.9 in AS >>>>>> To: dev@flex.apache.org >>>>>> >>>>>> I figured out how to build the js SWCs, thanks. >>>>>> >>>>>> Now if I feed the arguments you suggested to 'jsc', the compiler >>>> defines >>>>>> don't take... I get: >>>>>> >>>>>> Access of possibly undefined property COMPILE. >>>>>> COMPILE::JS >>>>>> ^ >>>>>> >>>>>> etc. >>>>>> >>>>>> The full command is: >>>>>> >>>>>> [local-path]/flex-falcon/compiler.jx/bin/jsc -define+=CONFIG::AS,false >>>>>> -define+=CONFIG::JS,true >>>>>> >>>> -external-library-path=[local-path]/flex-falcon/externs/js/out/bin/js.swc >>>>>> -js-output-type=FLEXJS -keep-asdoc HtmlContainer.as >>>>>> >>>>>> Ideas? >>>>>> >>>>>> EdB >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jun 30, 2015 at 6:28 PM, Frédéric THOMAS < >>>> webdoubl...@hotmail.com> >>>>>> wrote: >>>>>> >>>>>>>> A little patience with a terribly out of date committer: how does >>>> one who >>>>>>>> may have missed (more than) a few emails compile (or download?) these >>>>>>>> famous SWCs? >>>>>>> >>>>>>> You will need to run manually the externc.<libName>.swc target, you >>>> will >>>>>>> probably need to "ant wipe-all" and "ant all" first. >>>>>>> >>>>>>> Frédéric THOMAS >>>>>>> >>>>>>> >>>>>>> ---------------------------------------- >>>>>>>> From: e...@ixsoftware.nl >>>>>>>> Date: Tue, 30 Jun 2015 17:08:43 +0200 >>>>>>>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare >>>> but we >>>>>>> now have 1.9 in AS >>>>>>>> To: dev@flex.apache.org >>>>>>>> >>>>>>>> A little patience with a terribly out of date committer: how does >>>> one who >>>>>>>> may have missed (more than) a few emails compile (or download?) these >>>>>>>> famous SWCs? >>>>>>>> >>>>>>>> EdB >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Jun 30, 2015 at 4:56 PM, Alex Harui <aha...@adobe.com> >>>> wrote: >>>>>>>> >>>>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>> >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl >