|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
at.spardat.xma.boot.antext.CopyWithDeltas
Ant Task to copy a specified file together with its delta files to previous versions into a specified target directory. If there allready exists the same files in the target directory, only files with newer timestamps are copied.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
| Constructor Summary | |
CopyWithDeltas()
Default constructor needed by Ant. |
|
| Method Summary | |
void |
execute()
Copies the specified file together with its delta files to previous versions into the specified target directory. |
void |
setFile(java.io.File file)
Set the File to copy. |
void |
setMinVersion(java.lang.String minVersion)
Set the minimal version for delta files to copy. |
void |
setPreservelastmodified(boolean preservelastmodified)
Set if the modification timestamp of the copied files remains unchanged. |
void |
setToDir(java.io.File toDir)
Set the target directory for the copies. |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CopyWithDeltas()
| Method Detail |
public void setFile(java.io.File file)
file - to copy together with is delta files from previous versions.public void setMinVersion(java.lang.String minVersion)
minVersion - minimal version to copypublic void setToDir(java.io.File toDir)
toDir - the target directorypublic void setPreservelastmodified(boolean preservelastmodified)
preservelastmodified - If true the modification time is not changed.
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||