Well, there is already something like this, the <sound> task:

http://ant.apache.org/manual/OptionalTasks/sound.html

I don't know if this works with just a PC speaker or not though.

It may also be useful to write a custom BuildListener that does what you want when the build is complete, rather than assuming you can place a task where the build will end.

Erik


On Friday, January 24, 2003, at 08:54 AM, Tom Runnacles wrote:
The java.awt.Toolkit class has a beep() method. You could wrap a call to
that up in a new Task and make it the last thing called by your buildfile.

Personally, I think this is so obviously important a thing to be able to do
that such a Task ought really to be a part of the core ant distribution :)

Cheers,

TR

----- Original Message -----
From: "Jerome Lacoste @ BBC" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 12:37 PM
Subject: make ant beep


I want Ant to make my PC beep once it has finished building my project.
I don't have a speaker appart from the internal one, so I just need a
simple beep.
Any cross-plaftorm solution exist?

Cheers,

Jerome


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to