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, setFork
addAssertions, 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, setupRedirector
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void setFile(String file)
public void setOutput(File o)
setOutput
in class org.apache.tools.ant.taskdefs.Java
public 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.DynamicElement
createDynamicElement
in class FlexTask
protected void prepareCommandline() throws org.apache.tools.ant.BuildException
FlexTask
vars
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 FlexTask
org.apache.tools.ant.BuildException
Copyright © 2016 The Apache Software Foundation. All rights reserved.