|
|||||||||
| 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
net.sf.antcontrib.antclipse.ClassPathTask
public class ClassPathTask
Support class for the Antclipse task. Basically, it takes the .classpath Eclipse file and feeds a SAX parser. The handler is slightly different according to what we want to obtain (a classpath or a fileset)
| Field Summary | |
|---|---|
static java.lang.String |
TARGET_CLASSPATH
|
static java.lang.String |
TARGET_FILESET
|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Constructor Summary | |
|---|---|
ClassPathTask()
|
|
| Method Summary | |
|---|---|
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 |
| 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, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TARGET_CLASSPATH
public static final java.lang.String TARGET_FILESET
| Constructor Detail |
|---|
public ClassPathTask()
| Method Detail |
|---|
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 name
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionTask.execute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||