ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Kimball <>
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

java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream

but I can see  LineInputStream.class in mail.jar.

Why isn't ant seeing this class?



View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message