except that this plays a sound, and I probably need a sound card for that, right?

If System.out.println((char) 2) is really a cross-platform alternative, that's what I will try.
But I thought that beep was (char) 7?

The idea of using a build monitor is nice.

Thanks


Tom Runnacles wrote:

I wrote:


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 :)

Eric Hatcher replied:


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

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

I take it straight back - glad to see this essential bit of infrastructure
is already in place :)

----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 2:18 PM
Subject: Re: make ant beep



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]>




--
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