java.lang.Cloneable
public class ClassPathTask
extends org.apache.tools.ant.Task
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TARGET_CLASSPATH |
|
static java.lang.String |
TARGET_FILESET |
Constructor | Description |
---|---|
ClassPathTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
|
void |
setExcludes(java.lang.String excludes) |
Setter for task parameter
|
void |
setIdContainer(java.lang.String idContainer) |
Setter for task parameter
|
void |
setIncludeLibs(boolean includeLibs) |
Setter for task parameter
|
void |
setIncludeOutput(boolean includeOutput) |
Setter for task parameter
|
void |
setIncludes(java.lang.String includes) |
Setter for task parameter
|
void |
setIncludeSource(boolean includeSource) |
Setter for task parameter
|
void |
setproduce(java.lang.String produce) |
Setter for task parameter
|
void |
setProject(java.lang.String project) |
Setter for task parameter
|
void |
setVerbose(boolean verbose) |
Setter for task parameter
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
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 static final java.lang.String TARGET_CLASSPATH
public static final java.lang.String TARGET_FILESET
public void setIncludeLibs(boolean includeLibs)
includeLibs
- Boolean, whether to include or not the project libraries. Default is true.public void setproduce(java.lang.String produce)
produce
- This parameter tells the task wether to produce a "classpath" or a "fileset" (multiple filesets, as a matter of fact).public void setVerbose(boolean verbose)
verbose
- Boolean, telling the app to throw some info during each step. Default is false.public void setExcludes(java.lang.String excludes)
excludes
- A regexp for files to exclude. It is taken into account only when producing a classpath, doesn't work on source or output files. It is a real regexp, not a "*" expression.public void setIncludes(java.lang.String includes)
includes
- A regexp for files to include. It is taken into account only when producing a classpath, doesn't work on source or output files. It is a real regexp, not a "*" expression.public void setIdContainer(java.lang.String idContainer)
idContainer
- The refid which will serve to identify the deliverables. When multiple filesets are produces, their refid is a concatenation between this value and something else (usually obtained from a path). Default "antclipse"public void setIncludeOutput(boolean includeOutput)
includeOutput
- Boolean, whether to include or not the project output directories. Default is false.public void setIncludeSource(boolean includeSource)
includeSource
- Boolean, whether to include or not the project source directories. Default is false.public void setProject(java.lang.String project)
project
- project namepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Task.execute()