Full name:
info.flex-mojos:flex-compiler-mojo:2.0M6:compile-swf
Description:
Attributes:
runtime.compile.| Name | Type | Since | Description |
|---|---|---|---|
| accessible | boolean |
- |
Turn on generation of accessible SWFs. Default value is: false. |
| allowSourcePathOverlap | boolean |
- |
Allow the source-path to have path-elements which contain other
path-elements Default value is: false. |
| as3 | boolean |
- |
Use the ActionScript 3 class based object model for greater
performance and better error reporting. In the class based object
model most built-in functions are implemented as fixed methods of
classes (-strict is recommended, but not required, for earlier
errors) Default value is: true. |
| compatibilityVersion | String |
- |
|
| configFile | File |
- |
Load a file containing configuration options If not defined, by
default will search for one on resources folder. If not found an
empty config file will be generated at target folder. This file
doesn't reflect the configurations defined on pom.xml, is only put
there because flex-compiler-oem always try to read a config.xml. |
| configurationReport | boolean |
- |
Writes the configuration report to a file after the build. Default value is: false. |
| contextRoot | String |
- |
Sets the context root path so that the compiler can replace
{context.root} tokens for service channel endpoints. |
| debug | boolean |
- |
Turn on generation of debuggable SWFs. False by default for mxmlc,
but true by default for compc. Default value is: false. |
| debugPassword | String |
- |
A password that is embedded in the application |
| defaultBackgroundColor | String |
- |
Sets the default background color. You can override this by using
the application code. This is the equivalent of the
default-background-color option of the mxmlc or compc
compilers.Default value is: 869CA7. |
| defaultFrameRate | int |
- |
Sets the default frame rate to be used in the application. This is
the equivalent of the default-frame-rate option of the
mxmlc or compc compilers.Default value is: 24. |
| defaultSizeHeight | int |
- |
Sets the default application height in pixels. This is equivalent
to using the default-size option of the mxmlc or compc
compilers.Default value is: 375. |
| defaultSizeWidth | int |
- |
Sets the default application width in pixels. This is equivalent to
using the default-size option of the mxmlc or compc
compilers.Default value is: 500. |
| defaultsCss | File |
- |
Sets the location of the default CSS file. This is equivalent to
using the compiler.defaults-css-url option of the
mxmlc or compc compilers. |
| defines | Map |
- |
defines: specifies a list of define directive key and value pairs.
For example, CONFIG::debugging Usage: <defines> <SOMETHING::aNumber>2.2</SOMETHING::aNumber> <SOMETHING::aString>"text"</SOMETHING::aString> </defines> |
| enableMavenResourcesResolver | boolean |
- |
When enabled flex-mojos will add a custom path resolver to flex
compiler. This allow flex-mojos to resolve Embed assets located at
src/main/resources. This is a workaround and it is described at
http://bugs.adobe.com/jira/browse/SDK-15466 Default value is: true. |
| encoding | String |
- |
Sets the ActionScript file encoding. The compiler uses this
encoding to read the ActionScript source files. This is equivalent
to using the actionscript-file-encoding option of the
mxmlc or compc compilers.
The character encoding; for example Default value is: UTF-8. |
| es | boolean |
- |
Use the ECMAScript edition 3 prototype based object model to allow
dynamic overriding of prototype properties. In the prototype based
object model built-in functions are implemented as dynamic
properties of prototype objects (-strict is allowed, but may result
in compiler errors for references to dynamic properties) Default value is: false. |
| externs | String[] |
- |
Sets a list of definitions to omit from linking when building an
application. This is equivalent to using the externs
option of the mxmlc and compc compilers. An array of definitions
(for example, classes, functions, variables, or namespaces).Usage: <externs> <extern>com.acme.AClass</extern> </externs> |
| fonts | Font |
- |
Local Fonts Snapshot File containing cached system font licensing
information produced via java -cp mxmlc.jar
flex2.tools.FontSnapshot (fontpath). Will default to
winFonts.ser on Windows XP and macFonts.ser on Mac OS X.Usage:
<fonts>
<advancedAntiAliasing>true</advancedAntiAliasing>
<flashType>true</flashType>
<languages>
<englishRange>U+0020-U+007E</englishRange>
</languages>
<localFontsSnapshot>${baseDir}/src/main/resources/fonts.ser</localFontsSnapshot>
<managers>
<manager>flash.fonts.BatikFontManager</manager>
</managers>
<maxCachedFonts>20</maxCachedFonts>
<maxGlyphsPerFace>1000</maxGlyphsPerFace>
</fonts>
|
| frames | FrameLabel[] |
- |
Sets a SWF frame label with a sequence of class names that are
linked onto the frame. This is equivalent to using the
frames.frame option of the mxmlc or compc
compilers.Usage: <frames> <frame> <label>frame1</label> <classNames> <className>com.acme.AClass</className> </classNames> </frame> </frames> |
| headlessServer | boolean |
- |
Sets the compiler when it runs on a server without a display. This
is equivalent to using the compiler.headless-server
option of the mxmlc or compc compilers. that value determines if
the compiler is running on a server without a display.Default value is: false. |
| includes | String[] |
- |
Sets a list of definitions to always link in when building an
application. This is equivalent to using the includes
option of the mxmlc or compc compilers. An array of definitions
(for example, classes, functions, variables, or namespaces).Usage: <includes> <include>com.acme.AClass</include> </includes> |
| incremental | boolean |
- |
If the incremental input argument is
false, this method recompiles all parts of the object.
If the incremental input argument is
true, this method compiles only the parts of the
object that have changed since the last compilation.Default value is: false. |
| keepAllTypeSelectors | boolean |
- |
Instructs the compiler to keep a style sheet's type selector in a
SWF file, even if that type (the class) is not used in the
application. This is equivalent to using the
compiler.keep-all-type-selectors option of the mxmlc
or compc compilers.Default value is: false. |
| keepAs3Metadatas | String[] |
- |
Keep the following AS3 metadata in the bytecodes. Usage: <keepAs3Metadatas> <metadata>Bindable</metadata> <metadata>Events</metadata> </keepAs3Metadatas> |
| keepGeneratedActionscript | boolean |
- |
Turn on writing of generated/*.as files to disk. These files are
generated by the compiler during mxml translation and are helpful
with understanding and debugging Flex applications. Default value is: false. |
| licenses | Map |
- |
licenses: specifies a list of product and serial number
pairs. Usage: <licenses> <flexbuilder3>xxxx-xxxx-xxxx-xxxx</flexbuilder3> </licenses> |
| linkReport | boolean |
- |
Uses the default compiler options as base Default value is: false. |
| loadExterns | MavenArtifact[] |
- |
Sets a list of artifacts to omit from linking when building an
application. This is equivalent to using the
load-externs option of the mxmlc or compc
compilers.Usage: <loadExterns> <loadExtern> <groupId>com.acme</groupId> <artifactId>flexmodule</artifactId> <version>1.0.0</version> </loadExtern> <loadExtern> <groupId>org.tabajara</groupId> <artifactId>flexmodule</artifactId> <version>1.0.0</version> </loadExtern> </loadExterns> |
| loadExternsOnModules | boolean |
- |
When true, tells flex-mojos to use link reports/load externs on
modules compilation Default value is: true. |
| localRepository | ArtifactRepository |
- |
Local repository to be used by the plugin to resolve dependencies. |
| locales | String[] |
- |
Sets the locales that the compiler uses to replace
{locale} tokens that appear in some configuration
values. This is equivalent to using the
compiler.locale option of the mxmlc or compc
compilers. Usage: <locales> <locale>en_US</locale> <locale>pt_BR</locale> <locale>es_ES</locale> </locales> |
| mergeResourceBundle | Boolean |
- |
When true resources are compiled into Application or Library. When
false resources are compiled into separated Application or Library
files. If not defined no resourceBundle generation is done |
| metadata | Metadata |
- |
SWF metadata useless there is no API to read it. Usage: <metadata> <contributor>buddy</contributor> <creator>me</creator> <date>01/01/01</date> <descriptions> <en_US>Simple description</en_US> </descriptions> <language>en_US</language> <publishers> <publisher>publisher1</publisher> <publisher>publisher2</publisher> </publishers> <titles> <en_US>Project title</en_US> </titles> </metadata> |
| moduleFiles | String[] |
- |
The list of modules files to be compiled. The path must be relative
with source folder. Usage: <moduleFiles> <module>com/acme/AModule.mxml</module> </moduleFiles> |
| namespaces | Namespace[] |
- |
Specify a URI to associate with a manifest of components for use as
MXML elements. Usage:
<namespaces>
<namespace>
<uri>http://www.adobe.com/2006/mxml</uri>
<manifest>${basedir}/manifest.xml</manifest>
</namespace>
</namespaces>
|
| optimize | boolean |
- |
Enable post-link SWF optimization. Default value is: true. |
| output | String |
- |
The filename of the SWF movie to create |
| pluginArtifacts | List |
- |
(no description) |
| policyFileUrls | String[] |
- |
policyFileUrls array of policy file URLs. Each entry in the rslUrls
array must have a corresponding entry in this array. A policy file
may be needed in order to allow the player to read an RSL from
another domain. If a policy file is not required, then set it to an
empty string. Accept some special tokens:
{contextRoot} - replace by defined context root
{groupId} - replace by library groupId
{artifactId} - replace by library artifactId
{version} - replace by library version
{extension} - replace by library extension swf or swz
Usage:
<policyFileUrls>
<url>/{contextRoot}/rsl/policy-{artifactId}-{version}.xml</url>
</policyFileUrls>
|
| quick | boolean |
- |
Quick compile mode. When true, flex-mojos will check if the last
artifact available at maven repository is newer then sources. If
so, will not recompile. Default value is: false. |
| rawMetadata | String |
- |
Sets the metadata section of the application SWF. This is
equivalent to the raw-metadata option of the mxmlc or
compc compilers. Need a well-formed XML fragment |
| remoteRepositories | List |
- |
List of remote repositories to be used by the plugin to resolve
dependencies. |
| resourceBundlePath | String |
- |
Define the base path to locate resouce bundle files Accept some
special tokens:
{locale} - replace by locale name
Default value is: ${basedir}/src/main/locales/{locale}. |
| rslUrls | String[] |
- |
rslUrls array of URLs. The first RSL URL in the list is the primary
RSL. The remaining RSL URLs will only be loaded if the primary RSL
fails to load. Accept some special tokens:
{contextRoot} - replace by defined context root
{groupId} - replace by library groupId
{artifactId} - replace by library artifactId
{version} - replace by library version
{extension} - replace by library extension swf or swz
default-value="/{contextRoot}/rsl/{artifactId}-{version}.{extension}"
Usage:
<rslUrls>
<url>/{contextRoot}/rsl/{artifactId}-{version}.{extension}</url>
</rslUrls>
|
| scriptMaxExecutionTime | int |
- |
Sets the default script execution limits (which can be overridden
by root attributes). This is equivalent to using the
default-script-limits option of the mxmlc or compc
compilers. Execution time, in secondsDefault value is: 60. |
| scriptMaxRecursionDepth | int |
- |
Sets the default script execution limits (which can be overridden
by root attributes). This is equivalent to using the
default-script-limits option of the mxmlc or compc
compilers. Recursion depthDefault value is: 1000. |
| services | File |
- |
Sets the location of the Flex Data Services service configuration
file. This is equivalent to using the
compiler.services option of the mxmlc and compc
compilers. If not define will look inside resources directory for
services-config.xml |
| showWarnings | boolean |
- |
Run the AS3 compiler in a mode that detects legal but potentially
incorrect code Default value is: true. |
| sourceFile | String |
- |
The file to be compiled. The path must be relative with source
folder |
| sourcePaths | File[] |
- |
List of path elements that form the roots of ActionScript class
hierarchies. Usage:
<sourcePaths>
<path>${baseDir}/src/main/flex</path>
</sourcePaths>
By default use Maven source and resources folders. |
| strict | boolean |
- |
Run the AS3 compiler in strict error checking mode. Default value is: true. |
| targetPlayer | String |
- |
specifies the version of the player the application is targeting.
Features requiring a later version will not be compiled into the
application. The minimum value supported is "9.0.0". Default value is: 9.0.0. |
| useNetwork | boolean |
- |
Enables SWFs to access the network. Default value is: true. |
| useResourceBundleMetadata | boolean |
- |
Determines whether resources bundles are included in the
application. This is equivalent to using the
compiler.use-resource-bundle-metadata option of the
mxmlc or compc compilers.Default value is: true. |
| verboseStacktraces | boolean |
- |
Turns on the display of stack traces for uncaught runtime errors. Default value is: false. |
| verifyDigests | boolean |
- |
Verifies the RSL loaded has the same digest as the RSL specified
when the application was compiled. This is equivalent to using the
verify-digests option in the mxmlc compiler.Default value is: true. |
| warnings | Warning |
- |
Enables checking of the following ActionScript warnings:
--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 Usage: <warnigs> <arrayTostringChanges>true</arrayTostringChanges> <assignmentWithinConditional>false</assignmentWithinConditional> </warnigs> |
booleanNofalsebooleanNofalseas3 :
booleanNotruejava.lang.StringNojava.io.FileNobooleanNo${configurationReport}false{context.root} tokens for service channel endpoints.java.lang.StringNodebug :
booleanNofalsejava.lang.StringNodefault-background-color option of the mxmlc or compc
compilers.java.lang.StringNo869CA7default-frame-rate option of the
mxmlc or compc compilers.intNo24default-size option of the mxmlc or compc
compilers.intNo375default-size option of the mxmlc or compc
compilers.intNo500compiler.defaults-css-url option of the
mxmlc or compc compilers.java.io.FileNodefines :
<defines> <SOMETHING::aNumber>2.2</SOMETHING::aNumber> <SOMETHING::aString>"text"</SOMETHING::aString> </defines>
java.util.MapNoenableMavenResourcesResolver :
booleanNo${enableMavenResourcesResolver}trueencoding :
actionscript-file-encoding option of the
mxmlc or compc compilers.
The character encoding; for example UTF-8 or
Big5.
java.lang.StringNoUTF-8es :
booleanNofalseexterns :
externs
option of the mxmlc and compc compilers. An array of definitions
(for example, classes, functions, variables, or namespaces).<externs> <extern>com.acme.AClass</extern> </externs>
java.lang.String[]Nofonts :
java -cp mxmlc.jar
flex2.tools.FontSnapshot (fontpath). Will default to
winFonts.ser on Windows XP and macFonts.ser on Mac OS X.
<fonts>
<advancedAntiAliasing>true</advancedAntiAliasing>
<flashType>true</flashType>
<languages>
<englishRange>U+0020-U+007E</englishRange>
</languages>
<localFontsSnapshot>${baseDir}/src/main/resources/fonts.ser</localFontsSnapshot>
<managers>
<manager>flash.fonts.BatikFontManager</manager>
</managers>
<maxCachedFonts>20</maxCachedFonts>
<maxGlyphsPerFace>1000</maxGlyphsPerFace>
</fonts>
info.rvin.mojo.flexmojo.compiler.FontNoframes :
frames.frame option of the mxmlc or compc
compilers.<frames> <frame> <label>frame1</label> <classNames> <className>com.acme.AClass</className> </classNames> </frame> </frames>
info.rvin.mojo.flexmojo.compiler.FrameLabel[]Nocompiler.headless-server
option of the mxmlc or compc compilers. that value determines if
the compiler is running on a server without a display.booleanNofalseincludes :
includes
option of the mxmlc or compc compilers. An array of definitions
(for example, classes, functions, variables, or namespaces).<includes> <include>com.acme.AClass</include> </includes>
java.lang.String[]Noincremental input argument is
false, this method recompiles all parts of the object.
If the incremental input argument is
true, this method compiles only the parts of the
object that have changed since the last compilation.booleanNo${incremental}falsecompiler.keep-all-type-selectors option of the mxmlc
or compc compilers.booleanNofalse<keepAs3Metadatas> <metadata>Bindable</metadata> <metadata>Events</metadata> </keepAs3Metadatas>
java.lang.String[]NobooleanNofalselicenses :
<licenses> <flexbuilder3>xxxx-xxxx-xxxx-xxxx</flexbuilder3> </licenses>
java.util.MapNobooleanNofalseload-externs option of the mxmlc or compc
compilers.<loadExterns> <loadExtern> <groupId>com.acme</groupId> <artifactId>flexmodule</artifactId> <version>1.0.0</version> </loadExtern> <loadExtern> <groupId>org.tabajara</groupId> <artifactId>flexmodule</artifactId> <version>1.0.0</version> </loadExtern> </loadExterns>
info.rvin.mojo.flexmojo.compiler.MavenArtifact[]NobooleanNotrueorg.apache.maven.artifact.repository.ArtifactRepositoryNo${localRepository}locales :
{locale} tokens that appear in some configuration
values. This is equivalent to using the
compiler.locale option of the mxmlc or compc
compilers. <locales> <locale>en_US</locale> <locale>pt_BR</locale> <locale>es_ES</locale> </locales>
java.lang.String[]Nojava.lang.BooleanNometadata :
<metadata> <contributor>buddy</contributor> <creator>me</creator> <date>01/01/01</date> <descriptions> <en_US>Simple description</en_US> </descriptions> <language>en_US</language> <publishers> <publisher>publisher1</publisher> <publisher>publisher2</publisher> </publishers> <titles> <en_US>Project title</en_US> </titles> </metadata>
info.rvin.mojo.flexmojo.compiler.MetadataNo<moduleFiles> <module>com/acme/AModule.mxml</module> </moduleFiles>
java.lang.String[]No
<namespaces>
<namespace>
<uri>http://www.adobe.com/2006/mxml</uri>
<manifest>${basedir}/manifest.xml</manifest>
</namespace>
</namespaces>
info.rvin.mojo.flexmojo.compiler.Namespace[]Nooptimize :
booleanNotrueoutput :
java.lang.StringNojava.util.ListNo${plugin.artifacts}
{contextRoot} - replace by defined context root
{groupId} - replace by library groupId
{artifactId} - replace by library artifactId
{version} - replace by library version
{extension} - replace by library extension swf or swz
<policyFileUrls>
<url>/{contextRoot}/rsl/policy-{artifactId}-{version}.xml</url>
</policyFileUrls>
java.lang.String[]Noquick :
booleanNo${quick.compile}falseraw-metadata option of the mxmlc or
compc compilers. Need a well-formed XML fragmentjava.lang.StringNojava.util.ListNo${project.remoteArtifactRepositories}
{locale} - replace by locale name
java.lang.StringNo${basedir}/src/main/locales/{locale}rslUrls :
{contextRoot} - replace by defined context root
{groupId} - replace by library groupId
{artifactId} - replace by library artifactId
{version} - replace by library version
{extension} - replace by library extension swf or swz
default-value="/{contextRoot}/rsl/{artifactId}-{version}.{extension}"
<rslUrls>
<url>/{contextRoot}/rsl/{artifactId}-{version}.{extension}</url>
</rslUrls>
java.lang.String[]Nodefault-script-limits option of the mxmlc or compc
compilers. Execution time, in secondsintNo60default-script-limits option of the mxmlc or compc
compilers. Recursion depthintNo1000services :
compiler.services option of the mxmlc and compc
compilers. If not define will look inside resources directory for
services-config.xmljava.io.FileNobooleanNotruejava.lang.StringNo
<sourcePaths>
<path>${baseDir}/src/main/flex</path>
</sourcePaths>
By default use Maven source and resources folders.java.io.File[]Nostrict :
booleanNotruejava.lang.StringNo9.0.0booleanNotruecompiler.use-resource-bundle-metadata option of the
mxmlc or compc compilers.booleanNotruebooleanNofalseverify-digests option in the mxmlc compiler.booleanNotruewarnings :
--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
<warnigs> <arrayTostringChanges>true</arrayTostringChanges> <assignmentWithinConditional>false</assignmentWithinConditional> </warnigs>
info.rvin.mojo.flexmojo.compiler.WarningNo