flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Mavenizing Falcon
Date Sun, 13 Jul 2014 17:03:38 GMT
Just forgot to ask,

Another question ... when using Falcon, is there any difference in the Framework part? Are
the swcs the same as in the normal SDK? If yes, what exactly is different?

At least this would be what I am currently expecting. I know I will have to reference other
things when starting to use FlexJS, but at the moment I just want to have my application compiled
using the new Compiler.

Chris

-----Urspr√ľngliche Nachricht-----
Von: Alex Harui [mailto:aharui@adobe.com] 
Gesendet: Sonntag, 13. Juli 2014 17:54
An: dev@flex.apache.org
Betreff: Re: Mavenizing Falcon

Gordon or Darrell might know the real answer.

If you build the Falcon repo or unpack a binary package, you should see a compiler/lib folder.
 In it are the external dependencies require by the build.  Antlr, Commons-io, Commons-cli,
guava, Jburg, Jflex, LZMA.

Pretty sure Jburg is need to build, but not to run.  Pretty sure Commons-io and Commons-cli
is need to run as well as LZMA.

Not sure about Antr and Jflex.  Might only be build tools.

In generated/dist/sdk/lib are the jars that result from the build.  They
are:
Compiler.jar
Falcon-asc.jar
Falcon-compc.jar
Falcon-mxmlc.jar
Falcon-optimizer.jar
Falcon-swfdump.jar
Flex-oem-compiler.jar

Pretty sure you want the first 5, although really, I think falcon-asc, falcon-compc, falcon-mxmlc
use call compiler.jar.  Not sure how the optimizer works.  The 5 jars can be moved into a
lib folder with the compiler/lib jars so they are all in one place.

You don't need falcon-swfdump unless you want to dump SWFs, and flex-oem-compiler.jar is only
for FB integration.

AFAIK, these jars do not have dependencies on the current Flex SDK.  When we build up an overlaid
SDK we move the current SDK compiler to a bin-legacy and lib-legacy folder, but that's just
so folks can revert back if Falcon isn't working.  Also, the old SWFDump is much better, IMO.

HTH
-Alex

On 7/13/14 7:42 AM, "Christofer Dutz" <christofer.dutz@c-ware.de> wrote:

>Hi,
>
>After my latest Mavenizer and Flexmojos changes seem to compile all of 
>my Flex projects without problems, I wanted to get started on adding 
>Falcon support.
>Now instead of re-deploying the entire compiler, I would much more like 
>to have the falcon-compiler depend on the normal compiler by 
>referencing the falcon libs and adding a dependency on the normal 
>compiler artifact and exclude the old compiler libs.
>
>Could someone here on the list please describe me exactly which libs 
>Falcon consists of and where I can get them from as well as which libs 
>in the classic sdk are needed? I think being able to switch the 
>compilers by changing a dependency in maven would make experimenting a lot easier.
>
>Chris


Mime
View raw message