Re: Mail failing in build.xml file

2007-06-13 Thread Sann Maung
Hi, I just read this message. If you already have the solution, sorry. I think you need the (activation.jar) as well. rgds, --- David Weintraub <[EMAIL PROTECTED]> wrote: > I just tried that. I downloaded mail-1.4.jar from > Sun, put it in > ~ant/lib, created a symbolic link from mail.jar -

Re: Mail failing in build.xml file

2007-06-12 Thread Peter Reilly
On 6/11/07, David Weintraub <[EMAIL PROTECTED]> wrote: I have a very straight forward build.xml file: When I attempt to execute it, I get the following error message: test: [mail] Failed to initialise MIME mail: javax/mail/MessagingException BUI

Re: Mail failing in build.xml file

2007-06-12 Thread David Weintraub
It actually makes no difference what the JAR is called because Ant probably puts all the JARs in the classpath, so it's the path structure of each JAR that's important. As long as their is a javax.activation.DataSource class, it should be found. I'm going to dig in to see the actual class impleme

Re: Mail failing in build.xml file

2007-06-12 Thread Scot P. Floess
David: I don't exactly remember but I don't think a symlink will work to the jar file... You may need to refer to the actual jar... I seem to remember having some issue on Linux back in the day with regards to symlinks and jar files... Just for grins, try copying mail-1.4.jar to mail.jar a

Re: Mail failing in build.xml file

2007-06-12 Thread David Weintraub
I just tried that. I downloaded mail-1.4.jar from Sun, put it in ~ant/lib, created a symbolic link from mail.jar -> mail-1.4.jar, and still get the same message. Here's the message with "debug". I do get something else with "debug" -- a missing antlib.xml: $ ~ant/bin/ant -debug -f mail.xml Apache

RE: Mail failing in build.xml file

2007-06-12 Thread Rebhan, Gilbert
Hi, -Original Message- From: Priest, James (NIH/NIEHS) [C] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 1:57 PM To: Ant Users List Subject: RE: Mail failing in build.xml file /* I get this error as well but the email still gets sent. Using Ant 1.6.5 (within Eclipse) on WinXP

RE: Mail failing in build.xml file

2007-06-12 Thread Saurabh Dave
Have you copied the mail.jar and activation.jar in Ant Lib directory.if not then do it and Try... -Original Message- From: Priest, James (NIH/NIEHS) [C] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 5:27 PM To: Ant Users List Subject: RE: Mail failing in build.xml file

RE: Mail failing in build.xml file

2007-06-12 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: David Weintraub [mailto:[EMAIL PROTECTED] > > When I attempt to execute it, I get the following error message: > > test: > [mail] Failed to initialise MIME mail: > javax/mail/MessagingException > > BUILD SUCCESSFUL I get this error as well but the em

RE: Mail failing in build.xml file

2007-06-12 Thread Saurabh Dave
Download the Activation.jar and mail.jar and copy in ant Lib folder... -Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 3:26 AM To: Ant Users List Subject: Mail failing in build.xml file I have a very straight forward build.xml file: