org.objectweb.jonas.ant.jonasbase
Class JCopy

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Copy
              extended by org.objectweb.jonas.ant.jonasbase.JCopy
All Implemented Interfaces:
BaseTaskItf
Direct Known Subclasses:
Archives, Lib

public class JCopy
extends org.apache.tools.ant.taskdefs.Copy
implements BaseTaskItf

Defines common copy methods

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Copy
completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, verbosity
 
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
JCopy()
           
 
Method Summary
protected  java.lang.String getConfigurationFile()
           
protected  java.io.File getJonasRoot()
           
 java.lang.String getLogInfo()
          Gets logger info (to be displayed)
 void setConfigurationFile(java.lang.String configurationFile)
          Sets the configuration file
 void setDestDir(java.io.File destDir)
           
 void setJonasRoot(java.io.File jonasRoot)
           
 void setLogInfo(java.lang.String logInfo)
          Set the info to be displayed by the logger
 
Methods inherited from class org.apache.tools.ant.taskdefs.Copy
add, addFileset, buildMap, createFilterChain, createFilterSet, createMapper, doFileOperations, execute, getEncoding, getFileUtils, getFilterChains, getFilterSets, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTodir, setTofile, setVerbose, validateAttributes
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, 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
 
Methods inherited from interface org.objectweb.jonas.ant.jonasbase.BaseTaskItf
execute
 

Constructor Detail

JCopy

public JCopy()
Method Detail

setConfigurationFile

public void setConfigurationFile(java.lang.String configurationFile)
Sets the configuration file

Specified by:
setConfigurationFile in interface BaseTaskItf
Parameters:
configurationFile - The configurationFile to set.

setDestDir

public void setDestDir(java.io.File destDir)
Specified by:
setDestDir in interface BaseTaskItf
Parameters:
destDir - The destDir to set.

getLogInfo

public java.lang.String getLogInfo()
Gets logger info (to be displayed)

Specified by:
getLogInfo in interface BaseTaskItf
Returns:
logger info
See Also:
BaseTaskItf.getLogInfo()

setLogInfo

public void setLogInfo(java.lang.String logInfo)
Set the info to be displayed by the logger

Specified by:
setLogInfo in interface BaseTaskItf
Parameters:
logInfo - information to be displayed
See Also:
BaseTaskItf.setLogInfo(java.lang.String)

setJonasRoot

public void setJonasRoot(java.io.File jonasRoot)
Specified by:
setJonasRoot in interface BaseTaskItf
Parameters:
jonasRoot - The jonasRoot directory

getConfigurationFile

protected java.lang.String getConfigurationFile()
Returns:
the configurationFile.

getJonasRoot

protected java.io.File getJonasRoot()
Returns:
the jonasRoot.