Re: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Chris Kimball
At this point, I've done the following: 1. Installed Eclipse 3.5. It does have ant 1.7.1, an improvement. 2. Inserted the jars activation.jar (jaf-1.0.2) mail, smtp, and pop (javamail-1.42.) as Global Entries under the Preferences ant Runtime window. 3. Stopped using the Run as ... External t

Re: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Gilbert Rebhan
Gilbert Rebhan schrieb: > > Maybe there are problems on MacOS X - i've read from issues with > java and MacOS X - , i wish i had an Apple around > to test it, but .. P.S.: might be a problem with Ant 1.7.0 too, never used that version. If using an Eclipse Version that ships with Ant < 1.7.1 just

Re: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Gilbert Rebhan
Chris Kimball schrieb: [..] > Does this script run [...] > - > > MailTest.xml ANT_HOME: ${ant.home} > > > ---

Re: path problems in build.xml

2009-09-10 Thread Kerry Scott
setting JAVA_HOME has no effect unfortunately - maybe there is some incompatibility between Ant and Mandriva; I tried a succession of CLASSPATHS without success so I have now given up and installed Eclipse - doing it the slightly harder way but at least it works !! -Original Message- From

RE: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Chris Kimball
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 incompatibi

RE: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Rebhan, Gilbert
-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 t

RE: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Rebhan, Gilbert
-Original Message- From: Chris Kimball [mailto:m...@cvkimball.com] Sent: Thursday, September 10, 2009 4:45 PM To: user@ant.apache.org Subject: RE: Does mail task work on Eclipse on Mac OSX 10.6? /* mail.jar and smtp.jar are from the javamail-1.4.2.zip distribution. Just to check, I'

RE: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Chris Kimball
mail.jar and smtp.jar are from the javamail-1.4.2.zip distribution. Just to check, I've added the remaining jars from the package. Note: I'm using the "Run As.." "Open external tools" Classpath tab to add the jars. I just put them into the global path through the Preferences menu item, with

RE: Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Rebhan, Gilbert
-Original Message- From: Chris Kimball [mailto:m...@cvkimball.com] Sent: Thursday, September 10, 2009 3:58 PM To: user@ant.apache.org Subject: Does mail task work on Eclipse on Mac OSX 10.6? /* With best efforts, can't get the ant 1.7.0 mail task to run under Eclipse on Mac 10.6. ..

Does mail task work on Eclipse on Mac OSX 10.6?

2009-09-10 Thread Chris Kimball
With best efforts, can't get the ant 1.7.0 mail task to run under Eclipse on Mac 10.6. Test message. produces, in verbose mode, main: [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.