Missing ant-javamail.jar file on Macintosh

Posted by Ken on Stack Overflow See other posts from Stack Overflow or by Ken
Published on 2008-10-26T20:00:05Z Indexed on 2010/03/22 15:51 UTC
Read the original article Hit count: 573

Filed under:
|
|

I've been running the built-in Ant from the command line on a Macintosh (10.5.5) and have run into some trouble with the Mail task. Running the Mail task produces the following message:

[mail] Failed to initialise MIME mail: org.apache.tools.ant.taskdefs.email.MimeMailer

This is most likely due to a missing ant-javamail.jar file in the /usr/share/ant/lib directory. I see a "ant-javamail-1.7.0.pom" file in this directory but not the appropriate jar file. Anyone know why this jar file might be missing and what the best way to resolve the problem is?

© Stack Overflow or respective owner

Related posts about ant

Related posts about mac