com.redstarhackers.craftsman.taskdefs
Class CopyResourcesTask

java.lang.Object
  extended by Task
      extended by com.redstarhackers.craftsman.taskdefs.ModuleOrientedTask
          extended by com.redstarhackers.craftsman.taskdefs.CopyResourcesTask

public class CopyResourcesTask
extends ModuleOrientedTask

Copy the resources for the module. This is a generic task for copying all the resources within a directory (except for module information XML files).

Version:
$Revision: 2606 $
Author:
$Author: kostya $

Constructor Summary
CopyResourcesTask()
          Default constructor.
 
Method Summary
 void addExclude(java.lang.String name)
           
 void addInclude(java.lang.String name)
           
 void execute()
           
 java.io.File getFromDir()
           
 java.io.File getToDir()
           
 void init()
           
 boolean isFlatten()
           
 boolean isVerbose()
           
 void setFlatten(boolean val)
           
 void setFromDir(java.io.File file)
           
 void setToDir(java.io.File file)
           
 void setVerbose(boolean val)
           
 
Methods inherited from class com.redstarhackers.craftsman.taskdefs.ModuleOrientedTask
getModule, getModuleBuildVersion, getModuleId, getModuleProperty, getModuleProperty, getSetting, getSetting, isModulePropertySet, setModuleId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyResourcesTask

public CopyResourcesTask()
Default constructor.

Method Detail

init

public void init()
Overrides:
init in class ModuleOrientedTask

execute

public void execute()

getFromDir

public java.io.File getFromDir()

setFromDir

public void setFromDir(java.io.File file)

getToDir

public java.io.File getToDir()

setToDir

public void setToDir(java.io.File file)

isFlatten

public boolean isFlatten()

setFlatten

public void setFlatten(boolean val)

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean val)

addInclude

public void addInclude(java.lang.String name)

addExclude

public void addExclude(java.lang.String name)