Now that's what I'm talking about.  What I'm doing is adding in one liners
(if errorlevel ==... echo %buildname% >> mail.txt) to each of the bat files
that echo a line into a file and going to use that file as an entry to
<messagefile>.

If the developers saw that I wrapped nmake in ant, they'd cry.  Excellent
suggestion tho!

-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 11:21 AM
To: Ant Users List
Subject: Re: auto notification question...


Launch nmake with <exec> and use Ant as the front-end for all builds 
and use MailLogger?!  :)


On Wednesday, March 26, 2003, at 11:06  AM, Ciramella, EJ wrote:

> Has anyone done some sort of auto notification?  Since 3/4 of the 
> builds
> done here are nmake and bat file based (the only ant related builds 
> are the
> ones I've gotten time to convert), I'd like to have an email sent out 
> saying
> the builds completed.  With the ant build, that's no problem, there 
> are tons
> of listeners and mailing options.  With the bat file, that's a little
> trickier.  What I was thinking was that I'd build up a list of files 
> that
> have a modification date of in a particular range, beginning at 9 PM 
> and
> ending at 8 AM or something.  But that leaves too much room for error.
>
> Any suggestions?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to