It depends on your e-mail notifier.  If its a listener and throwing away
messageLogged events, then it wouldn't save echo's.

The code listed in the current Ant FAQ simply e-mails the build log file
(specified with -logfile <log file name>).  The one that I added recently
(in the nightly builds, not in a release version yet) doesn't require that
the results be captured to a log file, and sends what you see on the
console. You'd simply do this:

    ant -logger org.apache.tools.ant.listener.MailLogger

See the Ant FAQ for a pointer to the Loggers & Listeners page that describes
this one and the others available.

And you could capture the log and send it from a wrapper shell script, which
is what I think Stephane is referring to.

    Erik


----- Original Message -----
From: "John Volkar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 9:45 AM
Subject: Newbie help <echo>


> Okay, I'm new, so bear with me.
>
> I'm trying to setup the beginnings of a fairly large build script, that we
> will use in a nightly/weekly build process.  Eventually, automatic email
> notifications, and all the trimming will be added, but....  First I need
to
> walk before I can run, so...  I'm simply using the <echo> task to give
some
> feedback as I develop my scripts.
>
> Is echo output caught by the email notifiers automatically when those are
> added?  I mean would I be wasting my time createing nice clear meaningful
> messages for the <echo>'s?  If the email notifiers catch the <echo>'d
> output, then it's time well spent.
>
> Thanks
>
> John Volkar
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to