views:

35

answers:

1

My Flex project have 6 sub projects . How can I speed up the compilation speed of Flex?

A: 

Use a compiler other than mxmlc.

Flex Builder has a built-in compiler that uses incremental compilation, resulting in large performance gains (mxmlc compiles everything from scratch and loads up the JVM each time).

The Flex SDK includes a "compiler shell" called fcsh that allows you to do incremental compilation, but the problem is that you can't use it like mxmlc; you need to enter an interactive shell and issue custom commands to incrementally compile your projects. I've written a wrapper shell script (fcshctl) that allows you to use fcsh like mxmlc and there are a bunch of other wrappers that do more or less the same thing in different ways.

hasseg
Thank you very much.
netpiano