flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Framework using externs (was: Setup Error)
Date Sun, 18 Oct 2015 05:40:32 GMT

On 10/14/15, 1:53 PM, "Alex Harui" <aharui@adobe.com> wrote:

>I got all of the classes in Core to cross-compile.  No idea if it will run
>yet, but before I go and start making it run, I think I discovered that I
>can re-organize the sources and possibly make things a bit simpler.
>Right now, in the Core project there is an as/src folder and an asjs/src
>folder.  The asjs/src folder contains files that cross-compile without any
>conditional compilation.  The compile options for the asjs/src folder
>actually reference the SWC generated from as/src prior to compiling the
>code in asjs/src.  And then, the asjs/src compile generates a js/out and
>then we run the as/src compile again to package the js/out into the swc.
>But now, with the conditional compilation flags, I believe I can now
>collapse asjs/src into as/src and use conditional compilation in the
>CoreClasses.as file to skip cross-compiling a few swf-only classes we have
>in there.
>Then, if that’s true, the first step in building the Core project will be
>the cross-compile step to generate the js/out, then the second pass will
>compile the swc.  And then all of our src will be in one folder which
>makes it easier to find source files.
>Anyway, I’m off to try to make that work.  Let me know if I’ve missed
>something or if you have questions.  This work will not be going in a
>release any time soon, it is happening in a branch.

It seems to work.  DataBindingExample still runs.  I pushed these changes,
so Core is now fully written in AS!

I’ll be porting the other SWCs soon.  This work is not intended for the
0.5.0 release.  I’d appreciate folks trying to find time to help us get
0.5.0 out the door, although I will say that the porting has uncovered
some interesting bugs in Falcon/FalconJX that will go out in 0.5.0 in case
some folks doing native JS from AS run into the same problem.


View raw message