Top Interfaces Classes
[default module]

Package org.apache.tools.ant.taskdefs


Interface Summary

Modifier and TypeInterface and Description
public interface
ExecuteStreamHandler

Used by Execute to handle input and output stream of subprocesses.

public interface
XSLTLiaison

Proxy interface for XSLT processors.

public interface
XSLTLiaison2

Extended Proxy interface for XSLT processors.

public interface
XSLTLiaison3

Extends Proxy interface for XSLT processors.

public interface
XSLTLiaison4

Extends Proxy interface for XSLT processors: adds support for XSLT parameters of various types (not only String)

public interface
XSLTLogger

Interface to log messages for XSLT

public interface
XSLTLoggerAware

Interface for a class that one can set an XSLTLogger on.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCvsTask

original Cvs.java 1.20

Note

This implementation has been moved here from Cvs.java with the addition of some accessors for extensibility.

public abstract class
AbstractJarSignerTask

This is factored out from SignJar; a base class that can be used for both signing and verifying JAR files using jarsigner

public class
Ant

Build a sub-project.

public class
Antlib

Antlib task.

public class
AntlibDefinition

Base class for tasks that that can be used in antlibs.

public class
AntStructure

Creates a partial DTD for Ant from the currently known tasks.

public class
AttributeNamespaceDef

Definition to allow the URI to be considered for Ant attributes.

public class
AugmentReference

Ant task to dynamically augment a previously declared reference.

public class
Available

Will set the given property if the requested resource is available at runtime.

public class
Basename

Sets a property to the base name of a specified file, optionally minus a suffix.

public class
BindTargets

Simple task which bind some targets to some defined extension point

public class
BuildNumber

Read, increment, and write a build number in a file It will first attempt to read a build number from a file, then set the property "build.number" to the value that was read in (or 0 if no such value).

public class
BUnzip2

Expands a file that has been compressed with the BZIP2 algorithm.

public class
BZip2

Compresses a file with the BZIP2 algorithm.

public class
CallTarget

Call another target in the same project.

public class
Checksum

Used to create or verify file checksums.

public class
Chmod

Chmod equivalent for unix-like environments.

public class
Classloader

EXPERIMENTAL Create or modifies ClassLoader.

public class
CloseResources

Not a real task but used during tests.

public class
CommandLauncherTask

Task that configures the org.apache.tools.ant.taskdefs.launcher.CommandLauncher to used when starting external processes.

public class
Componentdef

Adds a component definition to the current project.

public class
Concat

This class contains the 'concat' task, used to concatenate a series of files into a single stream.

public class
ConditionTask

Task to set a property conditionally using <uptodate>, <available>, and many other supported conditions.

public class
Copy

Copies a file or directory to a new file or directory.

public class
Copydir

Deprecated The copydir task is deprecated since Ant 1.2. Use copy instead.
Copies a directory.
public class
Copyfile

Deprecated The copyfile task is deprecated since Ant 1.2. Use copy instead.
Copies a file.
public class
CopyPath

Deprecated this task should have never been released and was obsoleted by ResourceCollection support in Copy available since Ant 1.7.0. Don't use it.
Copy the contents of a path to a destination, using the mapper of choice
public class
Cvs

Performs operations on a CVS repository.

public class
CVSPass

Adds an new entry to a CVS password file.

public class
DefaultExcludes

Alters the default excludes for the entire build..

public abstract class
DefBase

Base class for Definitions handling uri and class loading.

public abstract class
Definer

Base class for Taskdef and Typedef - handles all the attributes for Typedef.

public class
Delete

Deletes a file or directory, or set of files defined by a fileset.

public class
Deltree

Deprecated The deltree task is deprecated since Ant 1.2. Use delete instead.
public class
DependSet

Examines and removes out of date target files.

public class
DiagnosticsTask

This is a task that hands off work to the Diagnostics module.

public class
Dirname

Determines the directory name of the specified file.

public class
Ear

Creates a EAR archive.

public class
Echo

Writes a message to the Ant logging facilities.

public class
EchoXML

Echo XML.

public class
Exec

Deprecated since 1.2. delegate to Execute instead.
Executes a given command if the os platform is appropriate.
public class
ExecTask

Executes a given command if the os platform is appropriate.

public class
Execute

Runs an external program.

public class
ExecuteJava

Execute a Java class.

public class
ExecuteOn

Executes a given command, supplying a set of files as arguments.

public class
ExecuteWatchdog

Destroys a process running for too long.

public class
Exit

Exits the active build, giving an additional message if available.

public class
Expand

Unzip a file.

public class
Filter

Sets a token filter that is used by the file copy tasks to do token substitution.

public class
FixCRLF

Converts text source files to local OS formatting conventions, as well as repair text files damaged by misconfigured or misguided editors or file transfer programs.

public class
GenerateKey

Generates a key in a keystore.

public class
Get

Gets a particular file from a URL source.

public class
GUnzip

Expands a file that has been compressed with the GZIP algorithm.

public class
GZip

Compresses a file with the GZIP algorithm.

public class
HostInfo

Sets properties to the host provided, or localhost if no information is provided.

public class
ImportTask

Task to import another build file into the current project.

public class
Input

Reads an input line from the console.

public class
Jar

Creates a JAR archive.

public class
Java

Launcher for Java applications.

public class
Javac

Compiles Java source files.

public class
Javadoc

Generates Javadoc documentation for a collection of source code.

public abstract class
JDBCTask

Handles JDBC configuration needed by SQL type tasks.

public class
Jikes

Deprecated since 1.2. Merged into the class Javac.
Encapsulates a Jikes compiler, by directly executing an external process.
public class
JikesOutputParser

Deprecated since 1.2. Use Jikes' exit value to detect compilation failure.
Parses output from jikes and passes errors and warnings into the right logging channels of Project.
public class
KeySubst

Deprecated KeySubst is deprecated since Ant 1.1. Use Filter + Copy instead.
Keyword substitution.
public class
Length

Gets lengths: of files/resources, byte size; of strings, length (optionally trimmed).

public class
LoadFile

Load a file into a property

public class
LoadProperties

Load a file's contents as Ant properties.

public class
LoadResource

Load a resource into a property

public class
Local

Task to create local properties in the current scope.

public class
LogOutputStream

Logs each line written to this stream to the log system of ant.

public class
LogStreamHandler

Logs standard output and error of a subprocess to the log system of ant.

public class
MacroDef

Describe class MacroDef here.

public class
MacroInstance

The class to be placed in the ant type definition.

public class
MakeUrl

This task takes file and turns them into a URL, which it then assigns to a property.

public class
Manifest

Holds the data of a jar manifest.

public class
ManifestClassPath

Converts a Path into a property suitable as a Manifest classpath.

public class
ManifestException

Exception thrown indicating problems in a JAR Manifest

public class
ManifestTask

Creates a manifest file for inclusion in a JAR, Ant task wrapper around Manifest.

public abstract class
MatchingTask

This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.

public class
Mkdir

Creates a given directory.

public class
Move

Moves a file or directory to a new file or directory.

public class
Nice

A task to provide "nice-ness" to the current thread, and/or to query the current value.

public abstract class
Pack

Abstract Base class for pack tasks.

public class
Parallel

Executes the contained tasks in separate threads, continuing once all are completed.

public class
Patch

Patches a file by applying a 'diff' file to it; requires "patch" to be on the execution path.

public class
PathConvert

Converts path and classpath information to a specific target OS format.

public class
PreSetDef

The preset definition task generates a new definition based on a current definition with some attributes or elements preset.

pack-priv class
ProcessDestroyer

Destroys all registered Processes when the VM exits.

public class
ProjectHelperTask

Task to install project helper into Ant's runtime

public class
Property

Sets a property by name, or set of properties (from file or resource) in the project.

public class
PropertyHelperTask

This task is designed to allow the user to install a different PropertyHelper on the current Project.

public class
PumpStreamHandler

Copies standard output and error of subprocesses to standard output and error of the parent process.

public class
Recorder

Adds a listener to the current build process that records the output to a file.

public class
RecorderEntry

This is a class that represents a recorder.

public class
Redirector

The Redirector class manages the setup and connection of input and output redirection for an Ant project component.

public class
Rename

Deprecated The rename task is deprecated since Ant 1.2. Use move instead.
Renames a file.
public class
Replace

Replaces all occurrences of one or more string tokens with given values in the indicated files.

public class
ResourceCount

Count resources from a ResourceCollection, storing to a property or writing to the log.

public class
Retry

Retries the nested task a set number of times

public class
Rmic

Runs the rmic compiler against classes.

public class
SendEmail

A task to send SMTP email.

public class
Sequential

Sequential is a container task - it can contain other Ant tasks.

public class
SetPermissions

Sets PosixFilePermissions for resources.

public class
SignJar

Signs JAR or ZIP files with the javasign command line tool.

public class
Sleep

Sleep, or pause, for a period of time.

public class
SQLExec

Executes a series of SQL statements on a database using JDBC.

public class
StreamPumper

Copies all data from an input stream to an output stream.

public class
SubAnt

Calls a given target for all defined sub-builds.

public class
Sync

Synchronize a local target directory from the files defined in one or more filesets.

public class
Tar

Creates a tar archive.

public class
Taskdef

Adds a task definition to the current project, such that this new task can be used in the current project.

public class
TaskOutputStream

Deprecated since 1.2.x. Use LogOutputStream instead.
Redirects text written to a stream through the standard Ant logging mechanism.
public class
TempFile

This task sets a property to the name of a temporary file.

public class
Touch

Touch a file and/or fileset(s) and/or filelist(s); corresponds to the Unix touch command.

public class
Transform

Has been merged into ExecuteOn, empty class for backwards compatibility.

public class
Truncate

Set the length of one or more files, as the intermittently available truncate Unix utility/function.

public class
Tstamp

Sets properties to the current time, or offsets from the current time.

public class
Typedef

Adds a data type definition to the current project.

public abstract class
Unpack

Abstract Base class for unpack tasks.

public class
Untar

Untar a file.

public class
UpToDate

Sets the given property if the specified target has a timestamp greater than all of the source files.

public class
VerifyJar

JAR verification task.

public class
WaitFor

Wait for an external event to occur.

public class
War

An extension of <jar> to create a WAR archive.

public class
WhichResource

Find a class or resource on the supplied classpath, or the system classpath if none is supplied.

public class
XmlProperty

Loads property values from a valid XML file, generating the property names from the file's element and attribute names.

public class
XSLTProcess

Processes a set of XML documents via XSLT.

public class
Zip

Create a Zip file.