ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <erikhatc...@earthlink.net>
Subject Re: Sending Mail from Ant on Windows
Date Wed, 05 Sep 2001 17:59:20 GMT
Actually the Mail task won't work cleanly because the build log will still
be open while executing that task.   The FAQ answers this question using a
build listener:

    http://jakarta.apache.org/ant/faq.html#mail-logger

This actually would make for a nice inclusion into the Ant core since it is
such a frequently desired feature.

Can a build listener be attached by specifying something in build.xml as
well so that command-line tweaking isn't needed at all?

    Erik


----- Original Message -----
From: "Jon Skeet" <jon.skeet@peramon.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, September 05, 2001 10:50 AM
Subject: RE: Sending Mail from Ant on Windows


> I want to send notifications from Ant upon completion of
> builds from Windows DOS prompt.  Is it possible?

Have a look at the built-in "Mail" task.

Jon


Mime
View raw message