From e1fc0ae7eced5cc730e2691c6a1c52dbb0f63a4a Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Wed, 28 May 2003 08:02:41 +0000 Subject: [PATCH] Remove dependency to JavaMail for MailLogger by using the Mailer class and Class.forName() instead of the MimeMailer class directly Also remove another bug in the MailLogger which would have forbidden to send plain mail PR: 5969 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274629 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 3 +-- .../apache/tools/ant/listener/MailLogger.java | 18 +++++++++++++----- .../tools/ant/taskdefs/email/Mailer.java | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/build.xml b/build.xml index 6bc5e5c5c..0548f277d 100644 --- a/build.xml +++ b/build.xml @@ -214,7 +214,6 @@ - @@ -1568,7 +1567,7 @@ + unless="tests.and.ant.share.classloader"/>