next up previous contents index
Next: .NET Tasks Up: Overview of Ant Tasks Previous: Mail Tasks   Contents   Index

Miscellaneous Tasks

Task Name Description
Echo Echoes text to System.out or to a file.
Fail Exits the current build by throwing a BuildException, optionally printing additional information.
GenKey Generates a key in keystore.
Input Allows user interaction during the build process by displaying a message and reading a line of input from the console.
Script Executes a script in a BSF-supported language.
Sound Plays a sound file at the end of the build, according to whether the build failed or succeeded.
Splash Displays a splash screen.
Sql Executes a series of SQL statements via JDBC to a database. Statements can either be read in from a text file using the src attribute, or from between the enclosing SQL tags.
Taskdef Adds a task definition to the current project, such that this new task can be used in the current project.
TStamp Sets the DSTAMP, TSTAMP, and TODAY properties in the current project, based on the current date and time.
Typedef Adds a data-type definition to the current project, such that this new type can be used in the current project.
XmlValidate Checks that XML files are valid (or only well-formed). This task uses the XML parser that is currently used by Ant by default, but any SAX1/2 parser can be specified, if needed.


next up previous contents index
Next: .NET Tasks Up: Overview of Ant Tasks Previous: Mail Tasks   Contents   Index
Andrew Marlow 2003-07-08