|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.MatchingTask net.dpml.tools.tasks.JavacTask
public class JavacTask
Compile sources located in ${project.target}/main to java class file under the ${project.target}/classes directory. Properties influencing the compilation include:
Field Summary | |
---|---|
static String |
DEBUG_KEY
Constant debug key. |
static String |
DEPRECATION_KEY
Constant deprecation warning key. |
static String |
FORK_KEY
Constant fork key. |
static String |
SOURCE_KEY
Constant src directory key. |
static String |
TARGET_KEY
Constant classes target directory key. |
static String |
VERBOSE_KEY
Constant debug key. |
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 | |
---|---|
JavacTask(Context context)
Creation of a new JavacTask. |
Method Summary | |
---|---|
void |
execute()
Task execution. |
protected Context |
getContext()
Get the project definition. |
void |
setClasspath(Path path)
Set the compilation classpath. |
void |
setClasspathRef(String id)
Set the id of the compilation classpath. |
void |
setDest(File destination)
Set the destination directory. |
void |
setSrc(File source)
Set the src directory. |
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 |
---|
public static final String VERBOSE_KEY
public static final String DEBUG_KEY
public static final String FORK_KEY
public static final String DEPRECATION_KEY
public static final String SOURCE_KEY
public static final String TARGET_KEY
Constructor Detail |
---|
public JavacTask(Context context)
context
- the project contextMethod Detail |
---|
public void setClasspath(Path path)
path
- the classpathpublic void setClasspathRef(String id)
id
- the classpath referencepublic void setDest(File destination)
destination
- the destination directorypublic void setSrc(File source)
source
- the src directorypublic void execute()
execute
in class Task
protected Context getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |