public class COMPJSC extends MXMLJSC
MXMLJSC.JSOutputType, MXMLJSC.JSTargetTypeasFileHandler, config, configurationClass, err, jsOutputType, jsTarget, lastCompiler, mxmlc, noLink, problems, project, projectConfigurator, target, targetSettings, workspace| Constructor and Description |
|---|
COMPJSC() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildArtifact()
Build target artifact.
|
protected boolean |
compile()
Main body of this program.
|
int |
execute(String[] args) |
String |
getName() |
protected String |
getProgramName()
Get my program name.
|
protected ITarget.TargetType |
getTargetType() |
protected boolean |
isCompc() |
static void |
main(String[] args)
Java program entry point.
|
int |
mainNoExit(String[] args,
List<ICompilerProblem> problems,
Boolean printProblems) |
protected boolean |
setupTargetFile()
Mxmlc uses target file as the main compilation unit and derive the output
SWF file name from this file.
|
static int |
staticMainNoExit(String[] args)
Entry point for the
<compc> Ant task. |
protected void |
validateTargetFile()
Validate target file.
|
close, configure, createConfigurator, getMainSource, getProblemQuery, getSourceList, getStartMessage, getSWFTarget, isFatalFailure, println, removeASArgs, removeJSArgs, waitAndClose, writeSWFpublic String getName()
public int execute(String[] args)
public static void main(String[] args)
args - command line argumentspublic static int staticMainNoExit(String[] args)
<compc> Ant task.args - Command line arguments.public int mainNoExit(String[] args, List<ICompilerProblem> problems, Boolean printProblems)
mainNoExit in interface JSCompilerEntryPointmainNoExit in class MXMLJSCprotected boolean compile()
compile in class MXMLJSCIOExceptionInterruptedExceptionprotected void buildArtifact()
throws InterruptedException,
IOException,
ConfigurationException
buildArtifact in class MXMLJSCInterruptedException - threading errorIOException - IO errorConfigurationExceptionprotected boolean setupTargetFile()
throws InterruptedException
setupTargetFile in class MXMLJSCInterruptedExceptionprotected void validateTargetFile()
throws ConfigurationException
validateTargetFile in class MXMLJSCConfigurationException.MustSpecifyTargetConfigurationException.IOErrorConfigurationExceptionprotected String getProgramName()
MXMLJSCgetProgramName in class MXMLJSCprotected boolean isCompc()
protected ITarget.TargetType getTargetType()
getTargetType in class MXMLJSCCopyright © 2021 The Apache Software Foundation. All rights reserved.