forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diwaker Gupta <diwakergu...@gmail.com>
Subject forrestbot email notification fails
Date Tue, 27 Jul 2004 00:49:15 GMT
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)

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker

Mime
View raw message