ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Runnacles" <...@trunnacl.org>
Subject Re: make ant beep
Date Fri, 24 Jan 2003 14:25:41 GMT
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" <jakarta-ant@ehatchersolutions.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
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" <lacostejbbc@altern.org>
> > To: "Ant Users List" <ant-user@jakarta.apache.org>
> > 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:ant-user-unsubscribe@jakarta.apache.org>
> >> For additional commands, e-mail:
> >> <mailto:ant-user-help@jakarta.apache.org>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message