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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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