Macromedia flex 2-migrating applications to flex 2 Benutzerhandbuch
156
Configuration and Command Line Tools
Command-line compilers
The mxmlc and compc compilers are changed for Flex 2. This section describes these changes.
mxmlc
The mxmlc utility compiles SWF files from your MXML and ActionScript files. The mxmlc
options that are no longer available include the following:
options that are no longer available include the following:
■
batch
■
contextroot
■
encoding
■
genlibdir
■
headless
■
loglevel
■
profile
■
file-specs
■
systemclasses
■
version
■
webroot
The names of many mxmlc command-line compiler options were changed to be more
consistent or descriptive. The changes include the following:
consistent or descriptive. The changes include the following:
Flex 1.x Name
Flex 2 Name
Comment
aspath
became
actionscript-classpath
source-path
configuration
config
debugpassword
debug-password
global-css-url
defaults-css-url
g debug
No longer generates a SWD file. The
resulting SWF file contains the debug
code. Also, there is no longer a
framework_debug.swc file. All the debug
logic is built into the framework.swc file.
As a result, you no longer need to specify
a value for the
resulting SWF file contains the debug
code. Also, there is no longer a
framework_debug.swc file. All the debug
logic is built into the framework.swc file.
As a result, you no longer need to specify
a value for the
debug-library-path
option.
This option was removed.
libpath library-path