org.apache.lenya.cms.ant
Class CopyJavaSourcesTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.lenya.cms.ant.CopyJavaSourcesTask
public class CopyJavaSourcesTask
- extends org.apache.tools.ant.Task
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 |
Method Summary |
static void |
copyContentOfDir(java.io.File source,
java.io.File destination,
TwoTuple twoTuple,
java.io.FilenameFilter filenameFilter)
Copies the content of a directory into another directory |
static void |
copyDir(java.io.File source,
java.io.File destination,
TwoTuple twoTuple,
java.io.FilenameFilter filenameFilter)
Copies the directory "source" into the directory "destination" |
static void |
copyFile(java.io.File source,
java.io.File destination,
TwoTuple twoTuple)
Copies the content of a file into another file |
void |
execute()
|
void |
setBuildDir(java.lang.String buildDir)
|
void |
setJavaDir(java.lang.String javaDir)
|
void |
setPubsRootDirs(org.apache.tools.ant.types.Path pubsRootDirs)
|
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 |
CopyJavaSourcesTask
public CopyJavaSourcesTask()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
copyDir
public static void copyDir(java.io.File source,
java.io.File destination,
TwoTuple twoTuple,
java.io.FilenameFilter filenameFilter)
- Copies the directory "source" into the directory "destination"
copyContentOfDir
public static void copyContentOfDir(java.io.File source,
java.io.File destination,
TwoTuple twoTuple,
java.io.FilenameFilter filenameFilter)
- Copies the content of a directory into another directory
copyFile
public static void copyFile(java.io.File source,
java.io.File destination,
TwoTuple twoTuple)
- Copies the content of a file into another file
- Parameters:
destination
- File (not a directory!)
setPubsRootDirs
public void setPubsRootDirs(org.apache.tools.ant.types.Path pubsRootDirs)
setJavaDir
public void setJavaDir(java.lang.String javaDir)
setBuildDir
public void setBuildDir(java.lang.String buildDir)
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.