You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Paul Fremantle <pz...@gmail.com> on 2005/06/03 12:07:28 UTC
Dependency on JavaMail
Folks
Why does Axis2 seem to have a hard dependency on JavaMail? The need
for loads of dependent JARS for things I never used was one of the
issues I've had with Axis1. Can we make this more pluggable?
Paul
[Axis2] modular build? [Re: [Axis2] Re: Dependency on JavaMail
Posted by Aleksander Slominski <as...@cs.indiana.edu>.
should not build process be modular i.e.one could build AXIS2 with only
transports required (without SMTP)?
thanks,
alek
Deepal Jayasinghe wrote:
> hi ;
> The reason behind JavaMail is Axis2 M2 is going to support SMTP , in
> that case it is requird to have those lib files.
>
>
> Thanks and regards.
> Deepal
>
>
> ----- Original Message ----- From: "Paul Fremantle" <pz...@gmail.com>
> To: <ax...@ws.apache.org>
> Sent: Friday, June 03, 2005 4:07 PM
> Subject: Dependency on JavaMail
>
>
> Folks
>
> Why does Axis2 seem to have a hard dependency on JavaMail? The need
> for loads of dependent JARS for things I never used was one of the
> issues I've had with Axis1. Can we make this more pluggable?
>
> Paul
>
--
The best way to predict the future is to invent it - Alan Kay
Re: [Axis2] Re: Dependency on JavaMail
Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,
It can also be due to MTOM support. For the moment the mtom source files in
the build uses Gerenimo Java Mail & Activation implementations. But those
implementations seems not complete yet. So to have MTOM support we need to
have Sun javamail packages. In that case we'll be giving the option for the
user to build axis2 without MTOM support using Gerenimo implementation. Only
if the user wants MTOM and need to check the test cases, then they can drop
the sun mail & activation jars to their local maven repository.
Unfortunately it seems we won't be able to ship MTOM support with Axis2 M2
due to some problems in the transport layers. Currently transport layer use
java.io.Reader & Writer to write out the stuff. But Readers & Writers will
not support writing Binary data to the streams. Because of that MTOM
implementation needs them as InputStreams & OutputStreams ( which i earlier
assumed to be there since we knew MTOM is coming)
I tried to fix the streams stuff, but still some test cases fail. :((
It seems I need some support from the transport guys to get the stuff fixed.
Thanks & Regards,
~Thilina
On 6/3/05, Deepal Jayasinghe <de...@opensource.lk> wrote:
>
> hi ;
> The reason behind JavaMail is Axis2 M2 is going to support SMTP , in that
> case it is requird to have those lib files.
>
>
> Thanks and regards.
> Deepal
>
>
> ----- Original Message -----
> From: "Paul Fremantle" <pz...@gmail.com>
> To: <ax...@ws.apache.org>
> Sent: Friday, June 03, 2005 4:07 PM
> Subject: Dependency on JavaMail
>
>
> Folks
>
> Why does Axis2 seem to have a hard dependency on JavaMail? The need
> for loads of dependent JARS for things I never used was one of the
> issues I've had with Axis1. Can we make this more pluggable?
>
> Paul
>
>
--
"May the SourcE be with u"
[Axis2] Re: Dependency on JavaMail
Posted by Deepal Jayasinghe <de...@opensource.lk>.
hi ;
The reason behind JavaMail is Axis2 M2 is going to support SMTP , in that
case it is requird to have those lib files.
Thanks and regards.
Deepal
----- Original Message -----
From: "Paul Fremantle" <pz...@gmail.com>
To: <ax...@ws.apache.org>
Sent: Friday, June 03, 2005 4:07 PM
Subject: Dependency on JavaMail
Folks
Why does Axis2 seem to have a hard dependency on JavaMail? The need
for loads of dependent JARS for things I never used was one of the
issues I've had with Axis1. Can we make this more pluggable?
Paul
Re: Dependency on JavaMail
Posted by Srinath Perera <he...@gmail.com>.
Hi Paul;
> Why does Axis2 seem to have a hard dependency on JavaMail? The need
> for loads of dependent JARS for things I never used was one of the
> issues I've had with Axis1. Can we make this more pluggable?
I too like a switch for not compile the additional stuff, we can put a exclude
rule in the maven build to exclude them, But I have not yet found a way to
load or not load it base on some option.I will give it a try.
As the java mails is download by the maven I thought it is ok for now.
At the runtime Axis would work without SMTP jar if the mails transport
is not used.
I am +1 for have a minimal build, Let us add a bug so we do not for
get it and try to fix it if possible
Thanks
Srinath