Yes. In steps 1 and 4, the compile-config.xml for each project uses <include-files>js/src/*</include-files> and <include-files>js/out/*</include-files> to copy all the handwritten and cross-compiled js. The reason we do it twice is just so on step 4, there is cross-compiled JS output from step 2. But if you are not using a pretty recent Falcon, the copy may fail because we taught Falcon to copy with wild cards. Older Falcon’s and regular Flex SDK CompC can’t do it.
-Alex From: "omup...@gmail.com<mailto:omup...@gmail.com>" <omup...@gmail.com<mailto:omup...@gmail.com>> on behalf of OmPrakash Muppirala <bigosma...@gmail.com<mailto:bigosma...@gmail.com>> Date: Sunday, September 20, 2015 at 9:57 PM To: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> Cc: "dev@flex.apache.org<mailto:dev@flex.apache.org>" <dev@flex.apache.org<mailto:dev@flex.apache.org>> Subject: Re: AW: Compiling FlexJS Hmm.. is there a part that copies the js files into the swc? Thanks, Om On Sun, Sep 20, 2015 at 9:24 PM, Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> wrote: OK, I can’t see your swcs so all I can do is guess. The build of the swcs has four phases: 1. The AS in as/src is compiled by the Flash compiler into a SWC. 2. The AS in asjs/src is cross-compiled, using classes in the swc 3. The JS in js/src is linted and copied to frameworks/js/FlexJS/libs 4. The AS in as/src is compiled again, which should pick up files cross-compiled from asjs/src that are in js/out. -Alex From: "omup...@gmail.com<mailto:omup...@gmail.com>" <omup...@gmail.com<mailto:omup...@gmail.com>> on behalf of OmPrakash Muppirala <bigosma...@gmail.com<mailto:bigosma...@gmail.com>> Date: Sunday, September 20, 2015 at 4:49 PM To: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> Cc: "dev@flex.apache.org<mailto:dev@flex.apache.org>" <dev@flex.apache.org<mailto:dev@flex.apache.org>> Subject: Re: AW: Compiling FlexJS On Sep 20, 2015 2:54 PM, "Alex Harui" <aha...@adobe.com<mailto:aha...@adobe.com>> wrote: > > > > On 9/20/15, 7:07 AM, "Christofer Dutz" > <christofer.d...@c-ware.de<mailto:christofer.d...@c-ware.de>> wrote: > > >Well I don't know how it could be fresher ... I checked out the flex-sdk, > >flex-falcon and flex-asjs built flex-falcon (ant clean all) and flex-asjs > >(ant clean all) ... so where could the old falcon come from? > > Sorry, that was a reply to Om. I think his SWCs are too small because an > old Falcon doesn’t know how to package the JS in the SWCs. But it looks like there are js files in the swcs. Just some of them are arbitrarily missing. I believe i have the latest falcon code. But I will try again in a while just to confirm. Thanks, Om > > -Alex >