Specifications
121ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Configuration files layout
The layout of the configuration files for Flex SDK is simple. It includes a jvm.config file, fdb command-line
debugger shell script, and the mxmlc and compc command-line compiler shell scripts for configuring the JVM
that the compiler uses. It also includes the flex-config.xml file that sets the compiler options, as well as executable
files for fdb, mxmlc, and compc.
The layout of the configuration files for Flex SDK is as follows:
sdk_install_dir/
bin/jvm.config
bin/mxmlc
bin/mxmlc.exe
bin/compc
bin/compc.exe
bin/fdb
bin/fdb.exe
frameworks/flex-config.xml
Flex SDK configuration
Flex SDK includes the mxmlc and compc command-line compilers. You use mxmlc to compile Flex applications
from MXML, ActionScript, and other source files. You use the compc compiler to compile component libraries,
Runtime Shared Libraries (RSLs), and theme files.
The compilers are located in the sdk_install_dir/bin directory. You configure the compiler options with the flex-
config.xml file. The compilers use the Java JRE. As a result, you can also configure settings such as memory
allocation and source path with the JVM arguments.
Command-line compiler configuration
The flex-config.xml file defines the default compiler options for the compc and mxmlc command-line compilers.
You can use this file to set options such as debugging, SWF file metadata, and themes to apply to your application.
For a complete list of compiler options, see “Using mxmlc, the application compiler” on page 139 and “Using
compc, the component compiler” on page 161.
The flex-config.xml file is located in the sdk_install_dir/frameworks directory. If you change the location of this
file relative to the location of the command-line compilers, you can use the
load-config compiler option to point
to its new location.










