next up previous contents index
Next: Java2 Extensions Tasks Up: Overview of Ant Tasks Previous: Execution Tasks   Contents   Index

File Tasks

Task Name Description
Checksum Generates a checksum for a file or set of files. This task can also be used to perform checksum verifications.
Chmod Changes the permissions of a file or all files inside the specified directories. Currently, it has effect only under Unix. The permissions are also UNIX style, like the arguments for the chmod command.
Concat Concatenates multiple files into a single one or to Ant's logging system.
Copy Copies a file or Fileset to a new file or directory.
Copydir Deprecated. Use the Copy task instead.
Copyfile Deprecated. Use the Copy task instead.
Delete Deletes either a single file, all files and sub-directories in a specified directory, or a set of files specified by one or more FileSets.
Deltree Deprecated. Use the Delete task instead.
Filter Sets a token filter for this project, or reads multiple token filters from a specified file and sets these as filters. Token filters are used by all tasks that perform file-copying operations.
FixCRLF Modifies a file to add or remove tabs, carriage returns, linefeeds, and EOF characters.
Get Gets a file from a URL.
Mkdir Creates a directory. Non-existent parent directories are created, when necessary.
Move Moves a file to a new file or directory, or a set(s) of file(s) to a new directory.
Patch Applies a "diff" file to originals.
Rename Deprecated. Use the Move task instead.
RenameExtensions Deprecated. Use the Move task with a glob mapper instead.
Replace Replace is a directory-based task for replacing the occurrence of a given string with another string in selected file.
ReplaceRegExp Directory-based task for replacing the occurrence of a given regular expression with a substitution pattern in a file or set of files.
Tempfile Generates a name for a new temporary file and sets the specified property to that name.
Touch Changes the modification time of a file and possibly creates it at the same time.


next up previous contents index
Next: Java2 Extensions Tasks Up: Overview of Ant Tasks Previous: Execution Tasks   Contents   Index
Andrew Marlow 2003-07-08