net.dpml.tools.tasks
Class InstallTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.tools.tasks.GenericTask
net.dpml.tools.tasks.InstallTask
- public class InstallTask
- extends GenericTask
Execute the install phase.
- Version:
- 1.0.0
- Author:
- The Digital Product Meta Library
Method Summary |
void |
copy(File destination,
FileSet fileset,
boolean preserve)
Utility operation to copy a fileset to a destination directory. |
void |
execute()
Execute the project. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallTask
public InstallTask()
execute
public void execute()
throws BuildException
- Execute the project.
- Throws:
BuildException
- if a build errror occurs
copy
public void copy(File destination,
FileSet fileset,
boolean preserve)
- Utility operation to copy a fileset to a destination directory.
- Parameters:
destination
- the destination directoryfileset
- the fileset to copypreserve
- the preserve timestamp flag