org.ow2.jonas.ant.jonasbase
Class Lib

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.ow2.jonas.ant.jonasbase.JCopy
                  extended by org.ow2.jonas.ant.jonasbase.Lib
All Implemented Interfaces:
BaseTaskItf

public class Lib
extends JCopy
implements BaseTaskItf

Allow to copy files to lib/ext.

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
Lib()
          Default constructor.
 
Method Summary
 String getDir()
          Gets the directory.
 void setDestDir(File destDir)
          Override method to copy files to lib/ext folder.
 void setDir(String dir)
          Sets the directory.
 
Methods inherited from class org.ow2.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.ow2.jonas.ant.jonasbase.BaseTaskItf
execute, getLogInfo, setConfigurationFile, setJonasRoot, setLogInfo
 

Constructor Detail

Lib

public Lib()
Default constructor.

Method Detail

setDestDir

public void setDestDir(File destDir)
Override method to copy files to lib/ext folder.

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

getDir

public String getDir()
Gets the directory.

Returns:
the directory

setDir

public void setDir(String dir)
Sets the directory.

Parameters:
dir - the directory to set


Copyright © 2010 OW2 Consortium. All Rights Reserved.