ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Kimball <m...@cvkimball.com>
Subject Mail task
Date Sun, 30 Aug 2009 20:22:36 GMT

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


Mime
View raw message