Thanks.  -- Bud

-----Original Message-----
From: Michael Weissenbacher [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 23, 2007 2:52 AM
To: James Users List
Subject: Re: Custom Mailet Jars

Hi,
Bud Bach schrieb:
> In the documentation for custom mailets:
> 
> http://james.apache.org/server/2.3.0/custom_mailet.html
> 
> Under the section titled "Adding Your Mailet to the Classpath", option 1b
it
> says:
> 
> "It will also be necessary to unpack the JavaMail and James jar files from
> the provided .sar file and add them to this directory."
> 
> What jar files are specifically needed in ${JAMESHOME}/lib?  Thanks.  --
Bud
I think that information is either incorrect or misleading. I only added 
my custom jar's plus the jar's that they depend on and it worked.

You will have to add james.jar and mailet.jar to your BUILD classpath in 
order to be able to compile your custom mailets. It's similar to 
servlets, where you need servlet.jar to compile them but you don't need 
to deploy servlet.jar with your application.

hth,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to