public class AnnotationC
extends org.apache.tools.ant.taskdefs.MatchingTask
Modifier and Type | Field and Description |
---|---|
protected boolean |
failOnError
flag to control action on execution trouble
|
Constructor and Description |
---|
AnnotationC() |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Adds a path to the classpath.
|
org.apache.tools.ant.types.Path |
createCompilerclasspath()
Support nested compiler classpath, used to locate compiler adapter
|
org.apache.tools.ant.types.Path |
createOutput() |
org.apache.tools.ant.types.Path |
createSrc()
Adds a path for source compilation.
|
void |
execute() |
boolean |
getBytecode() |
org.apache.tools.ant.types.Path |
getClasspath() |
org.apache.tools.ant.types.Path |
getCompilerclasspath()
get the classpath used to find the compiler adapter
|
boolean |
getFailonerror()
Gets the failonerror flag.
|
org.apache.tools.ant.types.Path |
getOutput()
get the classpath used to find the compiler adapter
|
boolean |
getXml() |
protected void |
logAndAddFilesToCompile(org.apache.tools.ant.types.CommandlineJava cmd) |
void |
setBytecode(boolean i) |
void |
setClasspath(org.apache.tools.ant.types.Path cp)
Set the classpath to be used for this compilation.
|
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a classpath defined elsewhere
|
void |
setCompilerclasspath(org.apache.tools.ant.types.Path cp)
Set the classpath to be used to find this compiler adapter
|
void |
setCompilerClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a classpath defined elsewhere
|
void |
setFailonerror(boolean fail)
Whether or not the build should halt if compilation fails.
|
void |
setOutput(org.apache.tools.ant.types.Path cp)
Set the classpath to be used to find this compiler adapter
|
void |
setXml(boolean i) |
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, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setXml(boolean i)
public boolean getXml()
public void setBytecode(boolean i)
public boolean getBytecode()
public void setFailonerror(boolean fail)
true
.public boolean getFailonerror()
public void setClasspath(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Path getClasspath()
public void setCompilerClasspathRef(org.apache.tools.ant.types.Reference r)
public void setCompilerclasspath(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path getCompilerclasspath()
public org.apache.tools.ant.types.Path createCompilerclasspath()
public org.apache.tools.ant.types.Path createSrc()
public org.apache.tools.ant.types.Path createOutput()
public void setOutput(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path getOutput()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
protected void logAndAddFilesToCompile(org.apache.tools.ant.types.CommandlineJava cmd)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.