Class AddPathTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.AddPathTask
- All Implemented Interfaces:
Cloneable
public class AddPathTask
extends org.apache.tools.ant.Task
This task is not directly related to ivy, but is useful in some modular build systems. The idea
is to be able to contribute new sub path elements to an existing path.
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(org.apache.tools.ant.types.Path path) voidaddDirset(org.apache.tools.ant.types.DirSet dset) voidaddFilelist(org.apache.tools.ant.types.FileList fl) voidaddFileset(org.apache.tools.ant.types.FileSet fs) org.apache.tools.ant.types.Pathorg.apache.tools.ant.types.Path.PathElementvoidexecute()booleanisFirst()voidsetFirst(boolean first) voidsetProject(org.apache.tools.ant.Project project) voidMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
-
Constructor Details
-
AddPathTask
public AddPathTask()
-
-
Method Details
-
getTopath
-
setTopath
-
setProject
public void setProject(org.apache.tools.ant.Project project) - Overrides:
setProjectin classorg.apache.tools.ant.ProjectComponent
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
add
public void add(org.apache.tools.ant.types.Path path) throws org.apache.tools.ant.BuildException - Throws:
org.apache.tools.ant.BuildException
-
addDirset
public void addDirset(org.apache.tools.ant.types.DirSet dset) throws org.apache.tools.ant.BuildException - Throws:
org.apache.tools.ant.BuildException
-
addFilelist
public void addFilelist(org.apache.tools.ant.types.FileList fl) throws org.apache.tools.ant.BuildException - Throws:
org.apache.tools.ant.BuildException
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fs) throws org.apache.tools.ant.BuildException - Throws:
org.apache.tools.ant.BuildException
-
createPath
public org.apache.tools.ant.types.Path createPath() throws org.apache.tools.ant.BuildException- Throws:
org.apache.tools.ant.BuildException
-
createPathElement
public org.apache.tools.ant.types.Path.PathElement createPathElement() throws org.apache.tools.ant.BuildException- Throws:
org.apache.tools.ant.BuildException
-
isFirst
public boolean isFirst() -
setFirst
public void setFirst(boolean first)
-