On Tue, May 24, 2011 at 9:49 AM, ant elder <[email protected]> wrote: > > > On Tue, May 24, 2011 at 9:32 AM, Millies, Sebastian > <[email protected]> wrote: >> >> > -----Original Message----- >> > From: Simon Laws [mailto:[email protected]] >> > Sent: Tuesday, May 24, 2011 9:21 AM >> > To: [email protected] >> > Subject: Re: Tuscany 1.6 and JavaMail 1.4.4? >> > >> > On Mon, May 23, 2011 at 2:05 PM, Millies, Sebastian >> > <[email protected]> wrote: >> > > Hello there, >> > > >> > > I’d like to use the JavaMail API v. 1.4.4 with my SCA application, >> > while Tuscany 1.6 >> > > seems to include some earlier version (which does not have the >> > ByteArrayDataSource class). >> > > >> > > Can I safely put the mail.jar from JavaMail 1.4.4 as well as its >> > dependencies (dsn.jar, >> > > imap.jar, mailapi.jar, pop3.jar, smtp.jar) in my classpath in front >> > of the Tuscany libraries? >> > > >> > > -- Sebastian >> > > >> > > >> > >> > Hi Sebastian >> > >> > I expect the lack of response means that nobody's tried it. >> > >> > Simon >> > >> > -- >> > Apache Tuscany committer: tuscany.apache.org >> > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >> >> I'll try it and get back to the list in case of problems. I don't really >> expect >> any problem, because the interfaces haven't changed, just been added to. >> >> Is there a test in the official Tuscany 1.6 distribution that I should >> look at? >> And for what purpose are the mail classes included in Tuscany at all? >> After all, >> there is no smtp-binding (or at least no jar called >> "tuscany-binding-smtp-whatever"). >> >> > > I think its only from a transitive dependency from Axis2 which uses it for > mime support or its mail transport. > > I don't know if the way Tuscany 1.x uses Axis2 actually does require the > mail jar it may well not be required, - in Tuscany 2.x its not need with the > Axis2 based WS binding. > > ...ant > >
That's a good point Ant. In the later versions of Axis2 the transports are shipped separately and we don't use the email transport at the moment. Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
