|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.jboss.ant.tasks.retro.Retro
public class Retro
The retro ant task. Some behavior was modelled after the ant javac task.
Field Summary | |
---|---|
protected boolean |
failOnError
flag to control action on execution trouble |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
Retro()
|
Method Summary | |
---|---|
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.Commandline.Argument |
createJvmarg()
Suport nested jvmarg elements |
org.apache.tools.ant.types.Path |
createSrc()
Adds a path for source compilation. |
void |
execute()
|
org.apache.tools.ant.types.Path |
getClasspath()
|
org.apache.tools.ant.types.Path |
getCompilerclasspath()
get the classpath used to find the compiler adapter |
File |
getDestdir()
Gets the destination directory into which the java source files should be compiled. |
boolean |
getFailonerror()
Gets the failonerror flag. |
String |
getMaxmemory()
|
int |
getMaxSrc()
|
String |
getOutputJar()
|
boolean |
getSupress()
|
boolean |
getVerbose()
|
String |
getWeaverClass()
|
protected void |
logAndAddFilesToCompile(org.apache.tools.ant.types.CommandlineJava cmd)
|
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 |
setDestdir(File destDir)
Set the destination directory into which the Java source files should be compiled. |
void |
setFailonerror(boolean fail)
Whether or not the build should halt if compilation fails. |
void |
setMaxmemory(String maxmemory)
Set the maxmemory of the Java task forked |
void |
setMaxSrc(int maxSrc)
|
void |
setOutputJar(String outputJar)
|
void |
setSuppress(boolean i)
Set the verbose level of the compiler |
void |
setVerbose(boolean i)
Set the verbose level of the compiler |
void |
setWeaverClass(String weaverClass)
Set the name of the class to be used for the weaving. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
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 |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean failOnError
Constructor Detail |
---|
public Retro()
Method Detail |
---|
public void setVerbose(boolean i)
public boolean getVerbose()
public void setSuppress(boolean i)
public boolean getSupress()
public void setMaxmemory(String maxmemory)
public String getMaxmemory()
public void setFailonerror(boolean fail)
true
.
public boolean getFailonerror()
public void setDestdir(File destDir)
destDir
- the destination directorpublic File getDestdir()
public void setClasspath(org.apache.tools.ant.types.Path cp)
public void setMaxSrc(int maxSrc)
public int getMaxSrc()
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.Commandline.Argument createJvmarg()
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)
public String getWeaverClass()
public void setWeaverClass(String weaverClass)
weaverClass
- public String getOutputJar()
public void setOutputJar(String outputJar)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |