You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chris Kimball <ma...@cvkimball.com> on 2009/08/30 22:22:36 UTC
Mail task
I'm having a problem getting the mail task to run in Eclipse. The ANT_HOME
is set to apache-ant-1.7.1 and I've inserted x jars, activation.jar (from
jaf-1.0.2) and mail.jar, dsn.jar, imap.jar, mailapi.jar, pop3.jar, and
smtp.jar (from javamail-1.4.2) into the lib directory.
Using the External Tools Dialog, these jars are available in ANT_HOME.
On running my test script I receive
BUILD FAILED
/Users/kimball/Projects/Spa/project/MailTest.xml:24:
java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
but I can see LineInputStream.class in mail.jar.
Why isn't ant seeing this class?
Thanks,
Chris
--
View this message in context: http://www.nabble.com/Mail-task-tp25215393p25215393.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org