public class AntTask
extends org.apache.tools.ant.taskdefs.MatchingTask
The first line defines the new task, and requires wyc.jar (which
contains this class) to be on the classpath; The second invokes the task to
compile all files rooted in the stdlib/ directory which are in
the whiley/ package, excluding those in whiley/io.
NOTE: this class is intended to be overriden by the compiler backends which compile Wyil bytecodes to different architectures (e.g. JVM, C, JavaScript, etc).
| Constructor and Description |
|---|
AntTask()
Construct a new instance of this command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setExcludes(String excludes) |
void |
setIncludes(String includes) |
void |
setVcg(boolean b) |
void |
setVerbose(boolean b) |
void |
setVerify(boolean b) |
void |
setWhileydir(File dir) |
void |
setWhileypath(String dirs) |
void |
setWyaldir(File dir) |
void |
setWyildir(File dir) |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludesfile, setFollowSymlinks, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected Compile command
public AntTask()
registry - The content registry being used to match files to content
types.IOExceptionpublic void setWhileypath(String dirs) throws IOException
IOExceptionpublic void setWhileydir(File dir) throws IOException
IOExceptionpublic void setWyildir(File dir) throws IOException
IOExceptionpublic void setWyaldir(File dir) throws IOException
IOExceptionpublic void setVerify(boolean b)
public void setVcg(boolean b)
public void setVerbose(boolean b)
public void setIncludes(String includes)
setIncludes in class org.apache.tools.ant.taskdefs.MatchingTaskpublic void setExcludes(String excludes)
setExcludes in class org.apache.tools.ant.taskdefs.MatchingTaskpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2017. All rights reserved.