That would be pretty site dependent on how those links would be constructed.
Are you putting log files under a web server or FTP server?  Or are you
getting to them through the local filesystem or network share mappings?
Keep in mind that MailLogger does not require the log file to be written as
a file, so its quite a different situation.

CruiseControl and Anthill both send e-mails with links to the web server
that serves the logs - in case that is relevant to your needs.

You could simply create your own BuildListener that would do this - although
without digging into the code I'm not sure how you'd get the log file name
that Ant is using.  The old mail logger that we had on the Ant FAQ required
a specific filename - but that is too rigid.  You'll likely want to use
the -logfile switch, otherwise you'll have to write your own BuildLogger to
write out the file.

I can't wait to see what solutions you come up with on this.  Will, no
doubt, be slick.

    Erik

----- Original Message -----
From: "Diane Holt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 3:03 PM
Subject: Sending mail w/links to log files


> Looking at the doc for MailLogger, it looks like it includes the logging
> output in the mail it sends -- has anyone done a mail-at-build's-end that
> just includes links to the log file(s) instead? (I know I could do it in
> an external script, but I was hoping to avoid that.)
>
> Thanks,
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> 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