Reputation: 35
My Flex project has six sub-projects. How can I speed up compilation?
Upvotes: 1
Views: 573
Reputation: 6807
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.
Upvotes: 2