Hi Norman,

There is no need to build the James source code to do this, there is a
better way.

In order to create a custom James app, do the following.

Create a new .sar file (i.e jamesNorman.sar) with the following setup.
(extract james.sar from the distribution for an example)

jamesNorman.sar
      |_conf
      |_META-INF
      |_SAR-INF
            |_lib

Put the james.jar which shipped with the distribution into the lib folder,

JAR up your custom code into norman-mailets.jar and put that into the lib
folder also.

Put any other libs you require in there aswell, like XML libs or Jakarta
commons etc. (in fact leave any libs which came with the default
distribution - james.sar)

Now repackage everything and put it into the apps directory as
jamesNorman.sar, make sure to delete the james.sar file which was there
previously.

Start up James, it should run the jamesNorman.sar application which will
load your custom mailets.

Let me know how you get on.

Michael



|---------+----------------------------->
|         |                             |
|         |  "Norman Maurer"            |
|         |  <[EMAIL PROTECTED]>           |
|         |  17/02/2006 08:39           |
|         |  Please respond to "James   |
|         |  Users List"                |
|         |                             |
|---------+----------------------------->
  
>-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                |
  |      To: [email protected]                                       
                                                |
  |      cc:                                                                    
                                                |
  |      Subject:  build new james.sar with costum mailet and matchers          
                                                |
  
>-----------------------------------------------------------------------------------------------------------------------------|




Hi,

i wrote a few costum mailets and matchers. Now i want to include them in
the james.jar. So i checketout the latest svn put the the .jar of mine
cutom mailets and matchers to the lib/ directoriy and invoke build.sh.

But they not seems to be included in james.sar...

what i have missed ?

bye




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






---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------



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

Reply via email to