|
|||||||||
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.CallTarget net.sf.antcontrib.logic.AntFetch
public class AntFetch
Subclass of CallTarget which allows us to fetch properties which are set in the scope of the called target, and set them in the scope of the calling target. Normally, these properties are thrown away as soon as the called target completes execution.
Field Summary |
---|
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 | |
---|---|
AntFetch()
|
Method Summary | |
---|---|
void |
execute()
Do the execution. |
void |
setProject(org.apache.tools.ant.Project realProject)
|
void |
setReturn(java.lang.String r)
Set the property or properties that are set in the new project to be transfered back to the original project. |
Methods inherited from class org.apache.tools.ant.taskdefs.CallTarget |
---|
addConfiguredTarget, addPropertyset, addReference, createParam, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, setInheritAll, setInheritRefs, setTarget |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, 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 |
Constructor Detail |
---|
public AntFetch()
Method Detail |
---|
public void setProject(org.apache.tools.ant.Project realProject)
setProject
in class org.apache.tools.ant.ProjectComponent
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.taskdefs.CallTarget
org.apache.tools.ant.BuildException
- Description of the Exceptionpublic void setReturn(java.lang.String r)
r
- the name of a property in the new project to set in the original
project. This may be a comma separate list of properties.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |