File / Directory / Archive tasks
Misc tasks
A task to send SMTP email
Echo
Echoes text to System.out or to a file.
Fail
Exits the current build by throwing a BuildException, optionally printing additional information.
Input
Allows user interaction during the build process by displaying a message and reading a line of input from the console.
Sound
Plays a sound file at the end of the build, according to whether the build failed or succeeded.
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.
TStamp
Sets the DSTAMP, TSTAMP, and TODAY properties in the current project, based on the current date and time.
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.
23
File / Directory / Archive tasks
Property Tasks
Property Tasks
Available
Sets a property if a specified file, directory, class in the classpath, or JVM system resource is available at runtime.
Basename
Sets a property to the last element of a specified path.
Dirname
Sets a property to the value of the specified file up to, but not including, the last path element.
Condition
Sets a property if a certain condition holds true ; this is a generalization of Available and Uptodate.
XmlProperty
Loads property values from a well-formed XML file.
...
Whichresource, Echoproperties, LoadFile,
LoadProperties, MakeURL, PathConvert, Property,
PropertyFile, Uptodate,
24
Tâches de gestion de projet avancés
Exemples de mise en oeuvre de tâches – Sommaire
Tâches de gestion de projet avancés
25

Link pubblico aggiornato
Il link pubblico alla tua chat è stato aggiornato.