ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r704486 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
Date Tue, 14 Oct 2008 11:48:43 GMT
Author: bodewig
Date: Tue Oct 14 04:48:43 2008
New Revision: 704486

URL: http://svn.apache.org/viewvc?rev=704486&view=rev
Log:
<mail>'s auto-encoding-selection was broken.  PR 42389.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=704486&r1=704485&r2=704486&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Tue Oct 14 04:48:43 2008
@@ -240,6 +240,10 @@
    breaks.
    Bugzilla Report 43342.
 
+ * encoding="auto" has been broken in <mail> since Ant 1.7.0 and only
+   worked if JavaMail was available.
+   Bugzilla Report 42389.
+
 Other changes:
 --------------
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java?rev=704486&r1=704485&r2=704486&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java Tue Oct 14
04:48:43 2008
@@ -430,7 +430,6 @@
                     log("Using MIME mail", Project.MSG_VERBOSE);
                 } catch (BuildException e) {
                     logBuildException("Failed to initialise MIME mail: ", e);
-                    return;
                 }
             }
             // SMTP auth only allowed with MIME mail
@@ -454,7 +453,6 @@
                     log("Using UU mail", Project.MSG_VERBOSE);
                 } catch (BuildException e) {
                     logBuildException("Failed to initialise UU mail: ", e);
-                    return;
                 }
             }
             // try plain format



Mime
View raw message