| Package | Description |
|---|---|
| org.apache.royale.compiler.config | |
| org.apache.royale.compiler.exceptions | |
| org.apache.royale.compiler.internal.config |
This package is the internal counterpart of the external
org.apache.royale.compiler.config package. |
| org.apache.royale.compiler.problems |
| 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.setCompilerInfoFlex(ConfigurationValue cv,
Boolean asData) |
void |
Configuration.setCompilerMinimumSupportedVersion(ConfigurationValue cv,
String version) |
void |
Configuration.setCompilerMxmlChildrenAsData(ConfigurationValue cv,
Boolean asData) |
void |
Configuration.setCompilerMxmlCompatibilityVersion(ConfigurationValue cv,
String version) |
void |
Configuration.setCompilerMxmlForceLocalId(ConfigurationValue cv,
Boolean force)
Specifies whether localId behavior should be 'forced' for the current compilation target.
|
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.setCompilerSwfExternalLibraryPath(ConfigurationValue cv,
String[] pathlist) |
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.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.setRoyale(ConfigurationValue cv,
boolean value)
Option to enable or prevent various Royale compiler behaviors.
|
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.setSwfDebugfileAlias(ConfigurationValue val,
String output) |
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 |
FileConfigurator.SAXConfigurationException.innerException |
ConfigurationException |
FlashBuilderConfigurator.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.
|
| Constructor and Description |
|---|
ConfigurationProblem(ConfigurationException e) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.