public final class MXMLCTask extends FlexTask implements org.apache.tools.ant.DynamicConfigurator
<mxmlc> Ant task.
For example:
<mxmlc file="${bug}.mxml"
debug="false"
keep="true"
verbose-stacktraces="false"
incremental="false"
strict="true"
benchmark="true"
report-invalid-styles-as-warnings="true"
show-invalid-css-property-warnings="false"
tools-locale="de_DE"
fork="false">
<source-path path-element="${FLEX_HOME}/frameworks/projects/framework/src"/>
</mxmlc>
All the simple mxmlc configuration parameters are supported as tag
attributes. Complex configuration options, like
-compiler.namespaces.namespace, are implemented as child tags. For
example:
<namespace uri="http://www.adobe.com/2006/mxml" manifest="${basedir}/manifest.xml"/>
cmdline, configVariables, fork, nestedAttribs, RUNTIME_SHARED_LIBRARY_PATH| Constructor and Description |
|---|
MXMLCTask()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
createDynamicElement(String name) |
NestedAttributeElement |
createExterns() |
Fonts |
createFonts() |
NestedAttributeElement |
createFrame() |
NestedAttributeElement |
createIncludes() |
NestedAttributeElement |
createLicense() |
Metadata |
createMetadata() |
NestedAttributeElement |
createNamespace() |
protected void |
prepareCommandline()
Called by execute after the set ConfigVariables in
vars has
been added to the commandline. |
void |
setFile(String file) |
void |
setOutput(File o) |
void |
setOutput(String o) |
createElem, createElem, createElemAllowAppend, execute, setDynamicAttribute, setForkaddAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirectorbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setFile(String file)
public void setOutput(File o)
setOutput in class org.apache.tools.ant.taskdefs.Javapublic void setOutput(String o)
public Metadata createMetadata()
public Fonts createFonts()
public NestedAttributeElement createNamespace()
public NestedAttributeElement createLicense()
public NestedAttributeElement createExterns()
public NestedAttributeElement createIncludes()
public NestedAttributeElement createFrame()
public Object createDynamicElement(String name)
createDynamicElement in interface org.apache.tools.ant.DynamicElementcreateDynamicElement in class FlexTaskprotected void prepareCommandline()
throws org.apache.tools.ant.BuildException
FlexTaskvars has
been added to the commandline. This function is responsible for adding
all tool-specific options to the commandline as well as setting the
default options of a build tool.prepareCommandline in class FlexTaskorg.apache.tools.ant.BuildExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.