org.objectweb.jonas.ant.jonasbase
Class Archives

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
                  extended by org.objectweb.jonas.ant.jonasbase.Archives
All Implemented Interfaces:
BaseTaskItf
Direct Known Subclasses:
Apps, Ejbjars, Rars, Wars

public class Archives
extends JCopy
implements BaseTaskItf

Allow to copy files to JONAS_BASE/xxxx/(autoload)

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
Archives(java.lang.String header, java.lang.String folderName)
          Default constructor
 
Method Summary
 void setDestDir(java.io.File destDir)
          Override method to copy files to JONAS_BASE/apps|webapps|rars|.../(autoload)
 
Methods inherited from class org.objectweb.jonas.ant.jonasbase.JCopy
getConfigurationFile, getJonasRoot, getLogInfo, setConfigurationFile, setJonasRoot, setLogInfo
 
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, getLogInfo, setConfigurationFile, setJonasRoot, setLogInfo
 

Constructor Detail

Archives

public Archives(java.lang.String header,
                java.lang.String folderName)
Default constructor

Parameters:
header - text for the header displayed for each line
folderName - text to display
Method Detail

setDestDir

public void setDestDir(java.io.File destDir)
Override method to copy files to JONAS_BASE/apps|webapps|rars|.../(autoload)

Specified by:
setDestDir in interface BaseTaskItf
Overrides:
setDestDir in class JCopy
Parameters:
destDir - The destDir to set.