You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by zyga lanex <ne...@yahoo.dk> on 2005/08/23 16:36:02 UTC

Mailet and matcher classloading

Hi,
I thought that in  2.2 release of James one of the
implemented future was Mailet and matcher
classloading, that we dont have to rebuild James. But
im getting errors during the compilation time coz of
this. So was it implemented or not?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Mailet and matcher classloading

Posted by David Erickson <ha...@ratemod.com>.
To load mailets you have to package your jar into james then rebuild the
sar... otherwise you can't load them... (cvs version may be different now)

-David

> -----Original Message-----
> From: Stefano Bagnara [mailto:apache@bago.org]
> Sent: Tuesday, August 23, 2005 8:48 AM
> To: 'James Users List'
> Subject: Re: Mailet and matcher classloading
> 
> > Hi,
> > I thought that in  2.2 release of James one of the
> > implemented future was Mailet and matcher classloading, that
> > we dont have to rebuild James. But im getting errors during
> > the compilation time coz of this. So was it implemented or not?
> 
> Well, classloading does not affect compilation.
> So if you got compilation errors it's not a classloading issue.
> 
> I don't understand your sentence about rebuilding james: we never had to
> rebuild james to load mailets.
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 8/22/2005
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


SV: Re: Re: Mailet and matcher classloading

Posted by zyga lanex <ne...@yahoo.dk>.
Where can I find these 2 packages, coz i dont have
them in James dir.?

Zygis
--- Stefano Bagnara <ap...@bago.org> skrev:

> > > during compilation Im getting error: package
> > org.apache.mailet does not exist.I thought it is
> becouse 
> > did't bundle my classes and libs into the
> james.sar
> 
> If you get this error during compilation than you
> should be sure to add to
> your build path the jars named mailet-api-2.3.jar
> and mailet-2.3.jar
> The sar is not (cannot be) used during the
> compilation step.
> 
> Stefano
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Re: Mailet and matcher classloading

Posted by Stefano Bagnara <ap...@bago.org>.
> > during compilation Im getting error: package
> org.apache.mailet does not exist.I thought it is becouse 
> did't bundle my classes and libs into the james.sar

If you get this error during compilation than you should be sure to add to
your build path the jars named mailet-api-2.3.jar and mailet-2.3.jar
The sar is not (cannot be) used during the compilation step.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


SV: Re: Mailet and matcher classloading

Posted by zyga lanex <ne...@yahoo.dk>.
--- Stefano Bagnara <ap...@bago.org> skrev:

> > Hi,
> > I thought that in  2.2 release of James one of the
> 
> > implemented future was Mailet and matcher
> classloading, that 
> > we dont have to rebuild James. But im getting
> errors during 
> > the compilation time coz of this. So was it
> implemented or not?
> 
> Well, classloading does not affect compilation.
> So if you got compilation errors it's not a
> classloading issue.
> 
> I don't understand your sentence about rebuilding
> james: we never had to
> rebuild james to load mailets.
> 
> Stefano
> 
> during compilation Im getting error: package
org.apache.mailet does not exist.I thought it is
becouse did't bundle my classes and libs into the
james.sar

Zygis


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Mailet and matcher classloading

Posted by Stefano Bagnara <ap...@bago.org>.
> Hi,
> I thought that in  2.2 release of James one of the 
> implemented future was Mailet and matcher classloading, that 
> we dont have to rebuild James. But im getting errors during 
> the compilation time coz of this. So was it implemented or not?

Well, classloading does not affect compilation.
So if you got compilation errors it's not a classloading issue.

I don't understand your sentence about rebuilding james: we never had to
rebuild james to load mailets.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org