ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: auto notification question...
Date Wed, 26 Mar 2003 16:31:48 GMT
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:jakarta-ant@ehatchersolutions.com]
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message