public class ASDOC extends MXMLC implements org.apache.flex.tools.FlexTool
This class is a quick start of component compiler. It depends on most of the functionalities developed for mxmlc.
MXMLC.ExitCodeconfig, configBuffer, mainCU, problems, project, projectConfigurator, startTime, target, targetSettings, workspace| Constructor and Description |
|---|
ASDOC() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildArtifact()
Build SWC library artifact.
|
boolean |
configure(String[] args)
Load configurations from all the sources.
|
protected Configurator |
createConfigurator()
Create a new Configurator.
|
int |
execute(String[] args) |
protected String |
getConfigurationDefaultVariable()
Get the default variable for this configuration.
|
String |
getName() |
protected String |
getProgramName()
Get my program name.
|
protected String |
getStartMessage()
Get the start up message that contains the program name
with the copyright notice.
|
protected ITarget.TargetType |
getTargetType()
Virtual method that returns the type of target we are building.
|
protected boolean |
isCompc()
"compc" subclass will override this method.
|
static void |
main(String[] args)
Entry point for
compc tool. |
protected void |
reportTargetCompletion()
Reports the size and location of the target that was created.
|
protected boolean |
setupTargetFile()
Compc uses the target file as the output SWC file name.
|
static int |
staticMainNoExit(String[] args)
Entry point for the
<compc> Ant task. |
protected void |
validateTargetFile()
Compc uses the target file as the output SWC file name if provided.
|
close, compile, getMainSource, getProblems, getSourceList, getSWFTarget, isFatalFailure, mainCompileOnly, mainNoExit, mainNoExit, println, setupLocaleSettings, setupThemeFiles, toFiles, toFileSpecifications, waitAndClose, writeSWFpublic static void main(String[] args)
compc tool.args - command line argumentspublic static int staticMainNoExit(String[] args)
<compc> Ant task.args - Command line arguments.public String getName()
public int execute(String[] args)
public boolean configure(String[] args)
MXMLCprotected String getConfigurationDefaultVariable()
MXMLCgetConfigurationDefaultVariable in class MXMLCprotected Configurator createConfigurator()
MXMLCcreateConfigurator in class MXMLCConfigurator.protected String getProgramName()
MXMLCgetProgramName in class MXMLCprotected String getStartMessage()
MXMLCgetStartMessage in class MXMLCprotected void buildArtifact()
throws InterruptedException,
IOException
buildArtifact in class MXMLCInterruptedException - threading errorIOException - IO errorprotected void reportTargetCompletion()
MXMLCreportTargetCompletion in class MXMLCprotected boolean setupTargetFile()
throws InterruptedException
setupTargetFile in class MXMLCInterruptedExceptionprotected void validateTargetFile()
throws ConfigurationException
validateTargetFile in class MXMLCConfigurationExceptionprotected boolean isCompc()
MXMLCprotected ITarget.TargetType getTargetType()
MXMLCgetTargetType in class MXMLCITarget.TargetType of the target we are building.Copyright © 2016 The Apache Software Foundation. All rights reserved.