Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24065 invoked from network); 10 Sep 2009 16:06:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Sep 2009 16:06:58 -0000 Received: (qmail 57034 invoked by uid 500); 10 Sep 2009 16:06:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56941 invoked by uid 500); 10 Sep 2009 16:06:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 56931 invoked by uid 99); 10 Sep 2009 16:06:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 16:06:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2009 16:06:46 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MlmAC-0000hD-Uy for user@ant.apache.org; Thu, 10 Sep 2009 09:06:24 -0700 Message-ID: <25385742.post@talk.nabble.com> Date: Thu, 10 Sep 2009 09:06:24 -0700 (PDT) From: Chris Kimball To: user@ant.apache.org Subject: RE: Does mail task work on Eclipse on Mac OSX 10.6? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mail@cvkimball.com References: <25383764.post@talk.nabble.com> <25384641.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org When I put either ant-javamail-1.7.0.jar or ant-javamail-1.7.1.jar on my "Run as" classpath, then the error java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream reappears. It's strange that ADDING a jar causes ant to lose LineInputStream. I'm guessing that there's an incompatibility among ant 1.7.0 jars and the activation, mail, and smtp jars. Does this script run --------------------------------------------------------------------------------- MailTest.xml ANT_HOME: ${ant.home} --------------------------------------------------------------------------------- Test message. --------------------------------------------------------------------------------- on your machine? (At least without the "initialization error".) Thanks, Chris Rebhan, Gilbert wrote: > > > > -----Original Message----- > From: Rebhan, Gilbert > Sent: Thursday, September 10, 2009 5:06 PM > To: 'Ant Users List' > Subject: RE: Does mail task work on Eclipse on Mac OSX 10.6? > > /* > you need mail.jar, activation.jar,smtp.jar and > ant-javamail.jar but that is already in $ANT_HOME/lib, maybe you need to > put it on > the classpath also, if you use "Run As .." > */ > > > P.S. : > activation.jar = JavaBeans Activation Framework , see : > http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html > > Regards, Gilbert > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > -- View this message in context: http://www.nabble.com/Does-mail-task-work-on-Eclipse-on-Mac-OSX-10.6--tp25383764p25385742.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