Browse Source

Found some information about <sound> in my local storage which should be in the manual.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@611103 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 17 years ago
parent
commit
0d89047e67
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      docs/manual/OptionalTasks/sound.html

+ 5
- 1
docs/manual/OptionalTasks/sound.html View File

@@ -34,6 +34,9 @@ Note: At this point, the random selection is based on all the files
in the directory, not just those ending in appropriate suffixes
for sound-files, so be sure you only have sound-files in the
directory you specify.</p>
<p>More precisely <code>&lt;sound&gt;</code> registers a hook that is
triggered when the build finishes. Therefore you have to place this
task as top level or inside a target which is always executed.</p>
<p>
Unless you are running on Java 1.3 or later, you need the Java Media Framework
on the classpath (javax.sound).
@@ -59,7 +62,8 @@ and <code>&lt;fail&gt;</code> elements:</p>
<tr>
<td valign="top">source</td>
<td valign="top">the path to a sound-file directory, or the name of a
specific sound-file, to be played.
specific sound-file, to be played. If this file does not exist, an error message
will be logged.
</td>
<td valign="top" align="center">Yes</td>
</tr>


Loading…
Cancel
Save