Plays a sound file at the end of the build, according to whether the build failed or succeeded.
There are three attributes to be set:
source: the location of the audio file to be played
duration: play the sound file continuously until "duration" milliseconds has expired
loops: the number of times the sound file should be played until stopped
I have only tested this with .WAV and .AIFF sound file formats. Both seem
to work fine.
plans for the future:
Ant play them back
Called by the project to let the task do its work. This method may be
called more than once, if the task is invoked more than once.
For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.