Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 47286 invoked from network); 27 Jul 2004 00:49:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 00:49:21 -0000 Received: (qmail 1389 invoked by uid 500); 27 Jul 2004 00:49:20 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 1151 invoked by uid 500); 27 Jul 2004 00:49:19 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 1136 invoked by uid 99); 27 Jul 2004 00:49:19 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_BY_IP,SB_NEW_BULK,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [64.233.170.202] (HELO mproxy.gmail.com) (64.233.170.202) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 26 Jul 2004 17:49:16 -0700 Received: by mproxy.gmail.com with SMTP id v18so29447rnb for ; Mon, 26 Jul 2004 17:49:15 -0700 (PDT) Received: by 10.38.97.30 with SMTP id u30mr1680498rnb; Mon, 26 Jul 2004 17:49:15 -0700 (PDT) Message-ID: <1b0b455704072617494ece6ac3@mail.gmail.com> Date: Mon, 26 Jul 2004 17:49:15 -0700 From: Diwaker Gupta To: dev@forrest.apache.org Subject: forrestbot email notification fails Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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