flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FalconJX]assets copied for js
Date Wed, 08 Feb 2017 16:36:40 GMT


On 2/8/17, 6:10 AM, "Harbs" <harbs.lists@gmail.com> wrote:

>I just made changes for both of these and it seems to work for me.
>
>Someone please look at my commit to make sure it covers the issue
>correctly.

Seems ok for now.

I'm wondering, though, what the rules are in the IDEs for copying files to
the output folder.  Does anybody know?  I'm pretty sure the SWF compiler
does not copy any files.  Flash Builder will copy certain files, but I've
never understood the rules it uses to do that.  IMO, the whole point of
this code in the JS compiler is an attempt to emulate what FB does,
including generation of the HTML wrapper.

IIRC, folks who don't use FB to build their regular Flex app using Ant
have to add the copying of these files to their build.xml.  Same for
Maven, which is why Chris and I aren't particularly fond of this code in
FalconJX.

In the compiler refactor I'm working on for building SWFs and JS in one
compiler launch, we are also setting ourselves up for having different
flavors of Publishers, like a CordovaPublisher that does other things
after the transpile is done, such as calling Cordova CLI to finish
building a Cordova Application.  I'm wondering if there should be flavors
of Publishers for Maven that, for example, don't do any copying or HTML
template generation and instead rely on Maven to do those things (and
maybe output some data to be used by the subsequent Maven phases (if I'm
using that term correctly), and also have FB variants that copy the same
files FB copies to bin-debug and bin-release to the JS output folders.

Thoughts?
-Alex

Mime
View raw message