net.dpml.tools.tasks
Class InstallTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended bynet.dpml.tools.tasks.GenericTask
              extended bynet.dpml.tools.tasks.InstallTask

public class InstallTask
extends GenericTask

Execute the install phase.

Version:
1.0.0
Author:
The Digital Product Meta Library

Field Summary
 
Fields inherited from class net.dpml.tools.tasks.GenericTask
ASC_EXT, GPG_EXE_KEY, MD5_EXT
 
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
InstallTask()
           
 
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 net.dpml.tools.tasks.GenericTask
asc, checksum, copy, deleteDir, getContext, getLibrary, getResource, init, isInitialized, mkDir
 
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 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
 

Constructor Detail

InstallTask

public InstallTask()
Method Detail

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 directory
fileset - the fileset to copy
preserve - the preserve timestamp flag