compiler swc

 收藏

 

demo  :    compc -compiler.source-path d:\src -output d:\Papervision3D.swc -include-sources d:\src

 

compiler 指令说明

 

 

一、compc -help

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

-help [keyword] [...]
    For information on command line syntax and descriptions of
    configuration variables, specify a search string, or one of the
    following special keywords:
       syntax   - describe the general syntax of the command line
       list     - show a list of all basic configuration variables
       advanced - also match advanced configuration variables
       aliases  - sort using the short alias for the variable
       details  - always display the full details for each item
    Any other help keyword provided is used to match a full or partial
    configuration variable, alias, or text to search for in the
    description of the configuration variable.
   
    For example, '-help advanced aliases foo' would show all
    configuration options (both basic and advanced) containing the text
    'foo', sorted by alias name.
   
    In the description of individual configuration variables, required
    values are marked with angle brackets, and optional values are marked
    with square brackets.  The notation [...] is used to indicate that
    the values are a list of arbitrary length.
 
//-------------------------------------------------------------------------------------------

二、compc -help syntax

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

Usage: compc [configuration options] [default arguments]

Configuration options may be set on the command line as
'-variable=value,value,value'. (The number of values required depends on the
particular variable.) Boolean options may be enabled with '-variable=true'
and disabled with '-variable=false', with '-variable' being shorthand for
'-variable=true'. Variables may be cleared by setting '-variable=' with no
value following the equals sign.

The default argument list is equivalent to setting the 'include-classes'
variable. The special string '--' may be used to terminate processing of
named configuration options and to force any remaining values on the command
line to be interpreted as default arguments.

In general, a given variable may only be set once, but a few variables may be
set multiple times if noted as 'repeatable' in their description; i.e.
'-a=x,y,z' may also be set as '-a=x -a=y -a=z' if 'a' is repeatable. A more
useful trait of repeatable variables is that by using the special syntax
'-variable+=value,value', the new values set will be appended to the current
value, rather than replacing the current value list.

Configuration variables sometimes have shortened aliases that make them
easier to type. Hierarchical dotted variable names will automatically have an
alias generated for their 'leaf' name, if it is unique.

Filenames specified on the command line must either be an absolute path or
relative to the current directory.

Use 'compc -help list' to list available configuration variables.

//-------------------------------------------------------------------------------------------

三、compc -help list

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

-benchmark
-compiler.accessible
-compiler.actionscript-file-encoding <string>
-compiler.context-root <context-path>
-compiler.debug
-compiler.external-library-path [path-element] [...]
-compiler.fonts.advanced-anti-aliasing
-compiler.fonts.flash-type
-compiler.fonts.max-glyphs-per-face <string>
-compiler.include-libraries [library] [...]
-compiler.incremental
-compiler.library-path [path-element] [...]
-compiler.locale [locale-element] [...]
-compiler.mxml.compatibility-version <version>
-compiler.namespaces.namespace <uri> <manifest>
-compiler.optimize
-compiler.services <filename>
-compiler.show-actionscript-warnings
-compiler.show-binding-warnings
-compiler.show-shadowed-device-font-warnings
-compiler.show-unused-type-selector-warnings
-compiler.source-path [path-element] [...]
-compiler.strict
-compiler.theme [filename] [...]
-compiler.use-resource-bundle-metadata
-compute-digest
-directory
-help [keyword] [...]
-include-classes [class] [...]
-include-file <name> <path>
-include-namespaces [uri] [...]
-include-resource-bundles [bundle] [...]
-include-sources [path-element] [...]
-include-stylesheet <name> <path>
-licenses.license <product> <serial-number>
-load-config <filename>
-metadata.contributor <name>
-metadata.creator <name>
-metadata.date <text>
-metadata.description <text>
-metadata.language <code>
-metadata.localized-description <text> <lang>
-metadata.localized-title <title> <lang>
-metadata.publisher <name>
-metadata.title <text>
-output <filename>
-runtime-shared-libraries [url] [...]
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
-static-link-runtime-shared-libraries
-target-player <version>
-use-network
-version
-warnings

//-------------------------------------------------------------------------------------------

四、compc -help advanced

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

-benchmark
-compiler.accessible
-compiler.actionscript-file-encoding <string>
-compiler.allow-source-path-overlap
-compiler.as3
-compiler.context-root <context-path>
-compiler.debug
-compiler.defaults-css-files [filename] [...]
-compiler.defaults-css-url <string>
-compiler.define <name> <value>
-compiler.es
-compiler.external-library-path [path-element] [...]
-compiler.fonts.advanced-anti-aliasing
-compiler.fonts.flash-type
-compiler.fonts.languages.language-range <lang> <range>
-compiler.fonts.local-fonts-snapshot <string>
-compiler.fonts.managers [manager-class] [...]
-compiler.fonts.max-cached-fonts <string>
-compiler.fonts.max-glyphs-per-face <string>
-compiler.headless-server
-compiler.include-libraries [library] [...]
-compiler.incremental
-compiler.keep-all-type-selectors
-compiler.keep-as3-metadata [name] [...]
-compiler.keep-generated-actionscript
-compiler.library-path [path-element] [...]
-compiler.locale [locale-element] [...]
-compiler.mxml.compatibility-version <version>
-compiler.namespaces.namespace <uri> <manifest>
-compiler.optimize
-compiler.services <filename>
-compiler.show-actionscript-warnings
-compiler.show-binding-warnings
-compiler.show-shadowed-device-font-warnings
-compiler.show-unused-type-selector-warnings
-compiler.source-path [path-element] [...]
-compiler.strict
-compiler.theme [filename] [...]
-compiler.use-resource-bundle-metadata
-compiler.verbose-stacktraces
-compiler.warn-array-tostring-changes
-compiler.warn-assignment-within-conditional
-compiler.warn-bad-array-cast
-compiler.warn-bad-bool-assignment
-compiler.warn-bad-date-cast
-compiler.warn-bad-es3-type-method
-compiler.warn-bad-es3-type-prop
-compiler.warn-bad-nan-comparison
-compiler.warn-bad-null-assignment
-compiler.warn-bad-null-comparison
-compiler.warn-bad-undefined-comparison
-compiler.warn-boolean-constructor-with-no-args
-compiler.warn-changes-in-resolve
-compiler.warn-class-is-sealed
-compiler.warn-const-not-initialized
-compiler.warn-constructor-returns-value
-compiler.warn-deprecated-event-handler-error
-compiler.warn-deprecated-function-error
-compiler.warn-deprecated-property-error
-compiler.warn-duplicate-argument-names
-compiler.warn-duplicate-variable-def
-compiler.warn-for-var-in-changes
-compiler.warn-import-hides-class
-compiler.warn-instance-of-changes
-compiler.warn-internal-error
-compiler.warn-level-not-supported
-compiler.warn-missing-namespace-decl
-compiler.warn-negative-uint-literal
-compiler.warn-no-constructor
-compiler.warn-no-explicit-super-call-in-constructor
-compiler.warn-no-type-decl
-compiler.warn-number-from-string-changes
-compiler.warn-scoping-change-in-this
-compiler.warn-slow-text-field-addition
-compiler.warn-unlikely-function-value
-compiler.warn-xml-class-has-changed
-compute-digest
-debug-password <string>
-default-background-color <int>
-default-frame-rate <int>
-default-script-limits <max-recursion-depth> <max-execution-time>
-default-size <width> <height>
-directory
-dump-config <filename>
-externs [symbol] [...]
-frames.frame [label] [classname] [...]
-help [keyword] [...]
-include-classes [class] [...]
-include-file <name> <path>
-include-lookup-only
-include-namespaces [uri] [...]
-include-resource-bundles [bundle] [...]
-include-sources [path-element] [...]
-include-stylesheet <name> <path>
-includes [symbol] [...]
-licenses.license <product> <serial-number>
-link-report <filename>
-load-config <filename>
-load-externs <filename>
-metadata.contributor <name>
-metadata.creator <name>
-metadata.date <text>
-metadata.description <text>
-metadata.language <code>
-metadata.localized-description <text> <lang>
-metadata.localized-title <title> <lang>
-metadata.publisher <name>
-metadata.title <text>
-output <filename>
-raw-metadata <text>
-resource-bundle-list <filename>
-runtime-shared-libraries [url] [...]
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
-static-link-runtime-shared-libraries
-target-player <version>
-use-network
-verify-digests
-version
-warnings

//-------------------------------------------------------------------------------------------

五、compc -help aliases

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

no keywords matched.

//-------------------------------------------------------------------------------------------

六、compc -help details

Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.

no keywords matched.

posted @ 2009-05-08 00:35  chinachen  阅读(428)  评论(0编辑  收藏  举报