Bug 50668 - The MailLogger feature does not take into account properly the "MailLogger.starttls.enable" system property
Summary: The MailLogger feature does not take into account properly the "MailLogger.st...
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.8.2
Hardware: All All
: P2 blocker (vote)
Target Milestone: 1.8.3
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 07:00 UTC by Édouard Mercier
Modified: 2011-01-30 02:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Édouard Mercier 2011-01-27 07:00:43 UTC
The bug lies on line 380 of class "MailLogger", where "mailer.setEnableStartTLS(values.ssl());" should be replaced by "mailer.setEnableStartTLS(values.starttls());", so that the "MailLogger.starttls.enable" system command-line property is properly taken into account.

With the current state of the source code, it is not possible to use the Gmail SMTP server for logging the result of an Ant script execution!
Comment 1 Stefan Bodewig 2011-01-30 02:25:04 UTC
Sorry, I knew I shouldn't have committed a change I couldn't test myself.

Fixed with svn revision 1065204

Thanks!