You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jh...@apache.org on 2008/01/11 09:24:58 UTC
svn commit: r611103 - /ant/core/trunk/docs/manual/OptionalTasks/sound.html
Author: jhm
Date: Fri Jan 11 00:24:55 2008
New Revision: 611103
URL: http://svn.apache.org/viewvc?rev=611103&view=rev
Log:
Found some information about <sound> in my local storage which should be in the manual.
Modified:
ant/core/trunk/docs/manual/OptionalTasks/sound.html
Modified: ant/core/trunk/docs/manual/OptionalTasks/sound.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/sound.html?rev=611103&r1=611102&r2=611103&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/sound.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/sound.html Fri Jan 11 00:24:55 2008
@@ -34,6 +34,9 @@
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><sound></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 @@
<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>