Package | Description |
---|---|
org.apache.flex.compiler.clients |
This package contains classes implementing four compiler command-line tools:
MXMLC , COMPC , ASC , and Optimizer . |
org.apache.flex.compiler.config |
This package contains classes and interfaces related to the configuration subsystem.
|
org.apache.flex.compiler.exceptions |
This package contains classes representing custom Java exceptions
that may be thrown by the compiler.
|
org.apache.flex.compiler.internal.config |
This package is the internal counterpart of the external
org.apache.flex.compiler.config package. |
org.apache.flex.compiler.internal.driver.js.goog | |
org.apache.flex.compiler.problems |
This package contains classes representing various problems
that can be encountered during compilation.
|
org.apache.flex.swc |
This package and its subpackages contain a support library
for reading, writing, and representing SWC files.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MXMLJSC.buildArtifact()
Build target artifact.
|
protected void |
COMPJSC.buildArtifact()
Build target artifact.
|
protected void |
Optimizer.OptimizerConfigurator.byPassConfigurationsRequiringFlexSDK()
By-pass the configurations that requires Flex SDK.
|
protected void |
Optimizer.OptimizerConfigurator.loadDefaults(ConfigurationBuffer cfgbuf)
Load default values
|
void |
Optimizer.OptimizerConfiguration.setInput(ConfigurationValue val,
String output) |
void |
JSConfiguration.setJSOutputType(ConfigurationValue cv,
String value) |
void |
Optimizer.OptimizerConfiguration.setOutput(ConfigurationValue val,
String output) |
void |
JSConfiguration.setSourceMap(ConfigurationValue cv,
boolean value) |
protected void |
MXMLJSC.validateTargetFile()
Validate target file.
|
protected void |
COMPJSC.validateTargetFile()
Validate target file.
|
protected void |
MXMLC.validateTargetFile()
Validate target file.
|
protected void |
COMPC.validateTargetFile()
Compc uses the target file as the output SWC file name if provided.
|
protected void |
ASDOC.validateTargetFile()
Compc uses the target file as the output SWC file name if provided.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Configurator.reportConfigurationException(ConfigurationException e)
Convert conifguration exceptions to problems and collect them for
reporting.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Configurator.byPassConfigurationsRequiringFlexSDK()
By-pass the configurations that requires Flex SDK.
|
void |
ConfigurationBuffer.clearVar(String avar,
String source,
int line) |
protected void |
Configurator.loadDefaults(ConfigurationBuffer cfgbuf)
Load the default values into the passed in config buffer
|
protected void |
Configurator.overrideDefaults()
Override default values.
|
static void |
CommandLineConfigurator.parse(ConfigurationBuffer buffer,
String defaultvar,
String[] args)
parse - buffer up configuration vals from the command line
|
List<ConfigurationValue> |
ConfigurationBuffer.peekConfigurationVar(String avar) |
String |
ConfigurationBuffer.peekSimpleConfigurationVar(String avar) |
protected String[] |
Configurator.processExtras(String[] extraOptions)
Do special case handling of extra arguments for Flash Builder.
|
List<String> |
ConfigurationBuffer.processValues(String var,
List<String> args,
String source,
int line) |
void |
Configuration.setApplicationDomain(ConfigurationValue cfgval,
String[] args) |
void |
Configuration.setCompilerAllowSubclassOverrides(ConfigurationValue cv,
Boolean allow) |
void |
Configuration.setCompilerDefine(ConfigurationValue cv,
String name,
String value) |
void |
Configuration.setCompilerExternalLibraryPath(ConfigurationValue cv,
String[] pathlist) |
void |
Configuration.setCompilerMinimumSupportedVersion(ConfigurationValue cv,
String version) |
void |
Configuration.setCompilerMxmlChildrenAsData(ConfigurationValue cv,
Boolean asData) |
void |
Configuration.setCompilerMxmlCompatibilityVersion(ConfigurationValue cv,
String version) |
void |
Configuration.setCompilerMxmlImplicitImports(ConfigurationValue cv,
String[] imports) |
void |
Configuration.setCompilerMxmlMinimumSupportedVersion(ConfigurationValue cv,
String version) |
void |
Configuration.setCompilerNamespacesNamespace(ConfigurationValue cfgval,
List<String> args)
Configures a list of many manifests mapped to a single namespace URI.
|
void |
Configuration.setCompilerServices(ConfigurationValue cv,
String servicesPath)
Used by the compiler to record the client dependencies from the Flex Data Services configuration file.
|
void |
Configuration.setCompilerSourcePath(ConfigurationValue cv,
String[] paths) |
void |
Configuration.setCreateTargetWithErrors(ConfigurationValue cv,
boolean value) |
void |
Configuration.setDefaultFrameRate(ConfigurationValue cv,
int rate) |
void |
Configuration.setDefaultScriptLimits(ConfigurationValue cv,
int scriptLimit,
int scriptRecursionLimit) |
void |
Configuration.setDefaultSize(ConfigurationValue cv,
int width,
int height) |
void |
Configuration.setErrorProblems(ConfigurationValue cv,
List<String> classNames) |
void |
Configuration.setExcludeNativeJSLibraries(ConfigurationValue cv,
boolean value)
Option to remove the Native JS libraries from external-library-path and library-path as they shouldn't be any
when compiling SWFs / SWCs.
|
void |
Configuration.setFileSpecs(ConfigurationValue cv,
List<String> args) |
void |
Configuration.setFlex(ConfigurationValue cv,
boolean value)
Option to enable or prevent various Flex compiler behaviors.
|
void |
Configuration.setForceRsls(ConfigurationValue cfgval,
String[] args) |
void |
Configuration.setFramesFrame(ConfigurationValue cv,
List<String> args) |
void |
Configuration.setIgnoreProblems(ConfigurationValue cv,
List<String> classNames) |
void |
Configuration.setLegacyMessageFormat(ConfigurationValue cv,
boolean value) |
void |
Configuration.setLicensesLicense(ConfigurationValue cfgval,
String product,
String serialNumber) |
void |
Configuration.setLoadConfig(ConfigurationValue cv,
String filename)
Since
ConfigurationBuffer loads the "load-config" files, the value of this configuration option isn't
intersting to the rest part of the compiler. |
void |
Configuration.setLoadExterns(ConfigurationValue cfgval,
String filename)
Specifies the location of an XML file that contains def, pre, and ext symbols to omit from linking when compiling
a SWF file.
|
void |
Configuration.setOutput(ConfigurationValue val,
String output) |
void |
Configuration.setRawMetadata(ConfigurationValue cv,
String xml)
Defines the metadata for the resulting SWF file.
|
void |
Configuration.setRuntimeSharedLibraries(ConfigurationValue cfgval,
List<String> urls)
Specifies a list of runtime shared libraries (RSLs) to use for this application.
|
void |
Configuration.setRuntimeSharedLibraryPath(ConfigurationValue cfgval,
List<String> urls)
Specifies the location of a runtime shared library (RSL).
|
void |
Configuration.setSwfVersion(ConfigurationValue cv,
int version) |
void |
Configuration.setTargetPlayer(ConfigurationValue cv,
String version)
Specifies the version of Flash Player that you want to target with the application.
|
void |
Configuration.setToolsLocale(ConfigurationValue cv,
String toolsLocale)
Configures the LocalizationManager's locale, which is used when reporting compile time errors, warnings, and
info.
|
void |
Configuration.setUseFlashBuilderProjectFiles(ConfigurationValue cv,
Boolean useFiles) |
void |
ConfigurationBuffer.setVar(String var,
List<String> vals,
String source,
int line) |
void |
ConfigurationBuffer.setVar(String avar,
List<String> vals,
String source,
int line,
String contextPath,
boolean append) |
void |
ConfigurationBuffer.setVar(String var,
String val,
String source,
int line) |
void |
Configuration.setWarningProblems(ConfigurationValue cv,
List<String> classNames) |
void |
Configuration.validate(ConfigurationBuffer configurationBuffer)
Validate configuration options values.
|
static void |
Configuration.validateNoCompcOnlyOptions(ConfigurationBuffer configurationBuffer)
Validate that no compc-only options are used in a given configuration buffer.
|
protected void |
Configurator.validateSWCConfiguration()
Do the validatation that the old COMPCConfiguration used to do.
|
protected void |
Configurator.validateSWCInputs()
Basic validation of compc options.
|
Modifier and Type | Field and Description |
---|---|
ConfigurationException |
FlashBuilderConfigurator.SAXConfigurationException.innerException |
ConfigurationException |
FileConfigurator.SAXConfigurationException.innerException |
Modifier and Type | Method and Description |
---|---|
static void |
FileConfigurator.load(ConfigurationBuffer buffer,
IFileSpecification fileSpec,
String context,
String rootElement,
boolean ignoreUnknownItems)
Load configuration XML file into a
ConfigurationBuffer object. |
static void |
SystemPropertyConfigurator.load(ConfigurationBuffer buffer,
String prefix)
Opportunistically find some configuration settings in system properties.
|
static void |
DefaultsConfigurator.loadASDocDefaults(ConfigurationBuffer cfgbuf) |
static void |
DefaultsConfigurator.loadCompcDefaults(ConfigurationBuffer cfgbuf) |
static void |
DefaultsConfigurator.loadDefaults(ConfigurationBuffer cfgbuf) |
static void |
DefaultsConfigurator.loadOEMCompcDefaults(ConfigurationBuffer cfgbuf) |
void |
COMPCConfiguration.setRuntimeSharedLibraryPath(ConfigurationValue cfgval,
List<String> urls)
COMPC ignores RSL settings.
|
Modifier and Type | Method and Description |
---|---|
void |
JSGoogConfiguration.setClosureLib(ConfigurationValue cv,
String value) |
void |
JSGoogConfiguration.setCompilerMxmlChildrenAsData(ConfigurationValue cv,
Boolean asData) |
void |
JSGoogConfiguration.setExternalJSLib(ConfigurationValue cv,
List<String> value) |
void |
JSGoogConfiguration.setJSCompilerOptions(ConfigurationValue cv,
List<String> value) |
void |
JSGoogConfiguration.setJSOutputOptimizations(ConfigurationValue cv,
List<String> value) |
void |
JSGoogConfiguration.setKeepASDoc(ConfigurationValue cv,
boolean value) |
void |
JSGoogConfiguration.setMarmotinni(ConfigurationValue cv,
String value) |
void |
JSGoogConfiguration.setRemoveCirculars(ConfigurationValue cv,
boolean value) |
void |
JSGoogConfiguration.setSDKJSLib(ConfigurationValue cv,
List<String> value) |
void |
JSGoogConfiguration.setSkipTranspile(ConfigurationValue cv,
boolean value) |
void |
JSGoogConfiguration.setStrictPublish(ConfigurationValue cv,
boolean value) |
Constructor and Description |
---|
ConfigurationProblem(ConfigurationException e) |
Modifier and Type | Method and Description |
---|---|
void |
SWCDepends.DependencyConfiguration.setMinimizeDependencySet(ConfigurationValue cv,
boolean minimumSet) |
void |
SWCDepends.DependencyConfiguration.setShowDependencyList(ConfigurationValue cv,
boolean showSwcDependencies) |
void |
SWCDepends.DependencyConfiguration.setShowDependentSwcs(ConfigurationValue cfgval,
String[] swcs) |
void |
SWCDepends.DependencyConfiguration.setShowExternalClasses(ConfigurationValue cv,
boolean showExterns) |
void |
SWCDepends.DependencyConfiguration.setShowSwcs(ConfigurationValue cfgval,
String[] swcs) |
void |
SWCDepends.DependencyConfiguration.setShowTypes(ConfigurationValue cv,
boolean showTypes) |
void |
SWCDepends.DependencyConfiguration.setTypes(ConfigurationValue cfgval,
String[] types) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.