|
Compile with
|
Select which of the available Flex compilers should be used. The available options are:
- Built-in compiler shell.
An IntelliJ IDEA compiler shell which uses the Flex SDK compiler API.
Similarly to Flex Compiler Shell (fsch), it can perform incremental compilations.
As a multithreaded shell,
it is capable of running a number of compilations simultaneously, in parallel.
- Flex Compiler Shell (fcsh).
The fcsh
utility available in Flex SDK.
This shell may be recommended for compiling small projects or in cases when you need to compile
only some of your modules.
IntelliJ IDEA stores the fcsh process in memory between compilations,
so during each next compilation only the code fragments that have actually changed are compiled.
(This is what is called incremental compilation).
Note that fcsh can run only one compilation at a time.
Note
When compiling large projects, fcsh may run out of memory.
In such cases, IntelliJ IDEA restarts the compiler shell automatically but
the incremental compilation data is lost.
- Mxmlc/compc.
The mxmlc / compc
compiler available in Flex SDK.
This compiler cannot compile incrementally.
However, it can run several independent compilation processes simultaneously
which significantly improves the compilation performance.
Whichever of the compiler option you use, IntelliJ IDEA
keeps track of the modules where nothing has changed since the previous compilation.
Consequently, the SWF and SWC files that are up-to-date are not compiled.
|
| Parallel compilation with up to <this_many> threads or processes |
Specify the maximum number of compilation threads (for the built-in compiler shell)
or processes (for the mxml/compc compiler) to run simultaneously.
|
| Compiler heap size |
Specify the maximum heap size available to the process that launches the compiler.
The default 512 Mb is suitable for most of the purposes. The single-process compilers (the built-in compiler shell and fcsh)
may require
more memory for large projects.
|
| VM options |
If necessary, type the string to be passed to the VM when IntelliJ IDEA launches the compiler.
If you need more room to type, click next to the field
to access the Flex Compiler VM options dialog where the text entry area is larger.
When specifying the options, follow these rules:
-
Use spaces to separate individual options, for example,
-client -ea -Xmx1024m.
-
If an option includes spaces,
enclose the spaces or the argument that contains the spaces in double quotes,
for example,
some" "arg or "some arg".
-
If an option includes double quotes (e.g. as part of the argument),
escape the double quotes by means of the backslashes,
for example,
-Dmy.prop=\"quoted_value\".
|