flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: AW: Compilers
Date Tue, 31 Dec 2013 04:12:19 GMT
So yes, with slightly modified mxmlc shell scripts and batch files that
call the main() entry point of the mxmlc class in the jar, you can launch
MXMLC and COMPC via those scripts and batch files with the same compiler
options as before.

And similarly, all of your ant scripts should just work as well.

But you keep using the word "Interfaces" and to me, that has many possible
meanings.  If the compiler jars are in your class path and you are
expecting certain methods and variables, those are not guaranteed to
exist, and Falcon seems to want at least one new system property, which
the shell and batch scripts provide.

On 12/30/13 8:30 AM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:

>Hi Alex,
>Hmmm unfortunately I jumped to 4.10 from 4.5.1 so somewhere in between. I
>could do some tests to find out where this happened.
>Well as far as I got things from the Wiki you use the same command line
>as with the old compiler. In Flexmojos Velo created some stub classes to
>wrap calls to the old compiler. If the new compiler now implemented the
>same Interfaces as the old one, there is a small chance I could simple
>replace the compiler Jar, but I doubt this will be possible.
>Think I'll have to checkout Falcon as soon as I have a few spare minutes
>and experiment on this a little. After all I have "Falcon Maven Support"
>on my list for quite some time (And we would automatically get IntelliJ
>support by this, which I also think should be a good thing)
>-----Urspr√ľngliche Nachricht-----
>Von: Alex Harui [mailto:aharui@adobe.com]
>Gesendet: Montag, 30. Dezember 2013 16:42
>An: dev@flex.apache.org
>Betreff: Re: Compilers
>Hi Chris,
>Can you tell us which SDK version introduces this slowdown?  I don't
>think it is the compiler code per-se.  I don't see any changes to the
>modules folder that would explain it.  It could be that the experimental
>and other new SWCs are being parsed for some reason.
>Falcon is still not ready for a 1.0 release, but alpha and beta quality
>should become available soon.  It is going to get lots of attention as we
>work on the FlexJS alpha and betas.
>What API do you use to talk to MXMLC?  If you compare the MXMLC script in
>the SDK bin folder with the one in the Falcon's compiler/commandline
>folder, I think the only difference is that the jar's main() is called
>with a -Dflexcompiler="$FALCON_HOME"
>argument for Falcon.
>The other MXMLC options are the same.  There is a flex-tasks.jar so the
>Ant API is the same.  But there is no Flash Builder incremental compile
>API for Falcon right now, and I don't know if other APIs not the MXMLC
>class are the same or not.  The main goal was to make it command line and
>Ant compatible.
>On 12/30/13 4:11 AM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:
>>After updating to the latest Flex SDKs I am experiencing a dramatic
>>increase in compile time when compiling my Skin modules (With the
>>normal swc and swfs there is no noticeable change). While compiling the
>>skin Module (Compilation Entry Point is a CSS file) the compile time
>>jumped up from about 20 Seconds to 5-6 Minutes and it is sort of
>>starting to bug me a little.
>>Shooting at the compiler with JProfiler shows a lot of collection
>>iterator operations but I couldn't actually pin point a hot spot
>>besides that it's in the Compiler.
>>Now I know there is this new Compiler (Falcon) ... what it the status
>>of this? From the "Current Status" in Confluence it's not yet finished.
>>I would like to make Flexmojos support Falcon. Is the API for the old
>>compiler and Falcon the same?
>>Having a look at the usage on the Wiki it seems to be the same class as
>>the old compiler, so replacing the compiler should be as easy as
>>selecting a different compiler.jar in Maven plugin dependencies.

View raw message