|
|||||||||||
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
org.apache.tools.ant.taskdefs.Copy
de.armax.ax.devtools.ant.common.AXcopy
This is an extension of the standard ant copy task.
In addition to to standard ant task, it introduces the property "overwriteNever". Set this property to "true" if you want to keep existing files even if they are older than the source files. The default value is false, wich means that by default, this task behaves exactly like the ant copy task.
Field Summary | |
protected boolean |
overwriteNever
|
Fields inherited from class org.apache.tools.ant.taskdefs.Copy |
completeDirMap, destDir, destFile, dirCopyMap, file, fileCopyMap, filesets, 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 | |
AXcopy()
|
Method Summary | |
protected void |
doFileOperations()
Removes existing files from Hashtable containing files to copy, if overwriteNever is true |
boolean |
getOverwriteNever()
getter for property overwriteNever |
void |
setOverwriteNever(boolean overwriteNever)
Setter for property overwrite never. |
Methods inherited from class org.apache.tools.ant.taskdefs.Copy |
addFileset, buildMap, createFilterChain, createFilterSet, createMapper, execute, getEncoding, getFileUtils, getFilterChains, getFilterSets, getPreserveLastModified, scan, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setIncludeEmptyDirs, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTodir, setTofile, setVerbose, validateAttributes |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
Field Detail |
protected boolean overwriteNever
Constructor Detail |
public AXcopy()
Method Detail |
public void setOverwriteNever(boolean overwriteNever)
Setter for property overwrite never.
This uses ant to convert the String attribute in the build file to a boolean attribute
public boolean getOverwriteNever()
protected void doFileOperations()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |