ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: make ant beep
Date Fri, 24 Jan 2003 14:03:37 GMT
On Fri, 24 Jan 2003, 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.

<script> will do just fine.

Be careful to detect headless systems (Unix without X for example)
that may throw an exception at you when try to get the Toolkit.  There
System.out.println((char) 2) may be an alternative.



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message