forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: forrestbot email notification fails
Date Tue, 27 Jul 2004 01:40:53 GMT
Diwaker Gupta wrote:
> Alright, first thanks for adding that notification on success option.
> However, notification still fails:
> 
> notify.email:
> Failed to initialise MIME mail: org.apache.tools.ant.taskdefs.email.MimeMailer
> Sending email: ForrestBot build for ${ant.project.name} succeeded
> Failed to send email
> 
> On inspecting the ANT jar files (from the SVN repo), I get the
> following Mail related classes:
> 7437 Fri Jul 16 09:38:30 PDT 2004 org/apache/tools/ant/listener/MailLogger.class
>   2800 Fri Jul 16 09:38:32 PDT 2004
> org/apache/tools/ant/taskdefs/email/Mailer.class
>   3732 Fri Jul 16 09:38:32 PDT 2004
> org/apache/tools/ant/taskdefs/email/PlainMailer.class
>   1487 Fri Jul 16 09:38:32 PDT 2004
> org/apache/tools/ant/taskdefs/email/UUMailer.class
>   7764 Fri Jul 16 09:38:38 PDT 2004 org/apache/tools/mail/MailMessage.class
>   1176 Fri Jul 16 09:38:38 PDT 2004 org/apache/tools/mail/MailPrintStream.class
>    861 Fri Jul 16 09:38:36 PDT 2004
> org/apache/tools/ant/taskdefs/optional/net/MimeMail.class
> 
> So basically the notification fails because it tries to use the
> MimeMailer class, which is not present in the ANT tasks in the
> repository.
> 
> Possible solutions:
> o include MimeMailer in the jar files
> o make fallback to PlainMailer if MimeMailer fails or allow user to
> specify mailer to use (this is BAD -- it shud be perfectly transparent
> to the user ideally)
> 

When I do it, it falls back to UUMailer.  Are you running it with 
`forrest -f buildfile.xml` or `ant -f buildfile.xml`?

-- 
Dave Brondsema : dave@brondsema.net
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal

Mime
View raw message