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 Norman Maurer <nm...@spam-box.de> on 2006/02/17 09:39:34 UTC

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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: build new james.sar with costum mailet and matchers

Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer wrote:
> 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 ?

Using the latest trunk you can even put your jar directly in the 
automatically expanded apps/james/SAR-INF/lib folder.

This way your sar are identical to the original james sar and your 
custom work (xml configurations + custom jars) are in the "apps/james" 
folder.

Maybe you prefer to have a single SAR of your "customized" james and you 
can put your jars in the SAR. The SARs, like JARs, are simple ZIP files.

Stefano


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


Re: build new james.sar with costum mailet and matchers

Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer wrote:
> Hmm i have no lib folder in SAR-INF 
> 
> maurer@debbox:~/james-svn/dist/james-2.3-dev/apps/james/SAR-INF$ ls -lta
> insgesamt 92
> drwxr-xr-x  6 maurer maurer  4096 2006-02-17 10:53 ..
> drwxr-xr-x  2 maurer maurer  4096 2006-02-17 10:53 .
> -rw-r--r--  1 maurer maurer  8441 2006-02-17 10:53 assembly.xml
> -rw-r--r--  1 maurer maurer 53776 2006-02-17 10:53 config.xml
> -rw-r--r--  1 maurer maurer 11230 2006-02-17 10:53 environment.xml
> 
> 
> Should i create one ?

You can create the lib folder and put your jars inside.
If you prefer to use classes you can also create the "classes" folder 
and put your uncompressed package/classes structure in that dir (it 
should work this way too).

Stefano


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


Re: build new james.sar with costum mailet and matchers

Posted by Norman Maurer <nm...@spam-box.de>.
Thx that seems to did the job :-)

bye

Am Freitag, den 17.02.2006, 11:50 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > Hmm i have no lib folder in SAR-INF 
> > 
> > maurer@debbox:~/james-svn/dist/james-2.3-dev/apps/james/SAR-INF$ ls -lta
> > insgesamt 92
> > drwxr-xr-x  6 maurer maurer  4096 2006-02-17 10:53 ..
> > drwxr-xr-x  2 maurer maurer  4096 2006-02-17 10:53 .
> > -rw-r--r--  1 maurer maurer  8441 2006-02-17 10:53 assembly.xml
> > -rw-r--r--  1 maurer maurer 53776 2006-02-17 10:53 config.xml
> > -rw-r--r--  1 maurer maurer 11230 2006-02-17 10:53 environment.xml
> > 
> > 
> > Should i create one ?
> 
> You can create the lib folder and put your jars inside.
> If you prefer to use classes you can also create the "classes" folder 
> and put your uncompressed package/classes structure in that dir (it 
> should work this way too).
> 
> 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: build new james.sar with costum mailet and matchers

Posted by Norman Maurer <nm...@spam-box.de>.
Hmm i have no lib folder in SAR-INF 

maurer@debbox:~/james-svn/dist/james-2.3-dev/apps/james/SAR-INF$ ls -lta
insgesamt 92
drwxr-xr-x  6 maurer maurer  4096 2006-02-17 10:53 ..
drwxr-xr-x  2 maurer maurer  4096 2006-02-17 10:53 .
-rw-r--r--  1 maurer maurer  8441 2006-02-17 10:53 assembly.xml
-rw-r--r--  1 maurer maurer 53776 2006-02-17 10:53 config.xml
-rw-r--r--  1 maurer maurer 11230 2006-02-17 10:53 environment.xml


Should i create one ?

bye

Am Freitag, den 17.02.2006, 10:49 +0100 schrieb Stefano Bagnara:
> Norman Maurer wrote:
> > 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 ?
> 
> Using the latest trunk you can even put your jar directly in the 
> automatically expanded apps/james/SAR-INF/lib folder.
> 
> This way your sar are identical to the original james sar and your 
> custom work (xml configurations + custom jars) are in the "apps/james" 
> folder.
> 
> Maybe you prefer to have a single SAR of your "customized" james and you 
> can put your jars in the SAR. The SARs, like JARs, are simple ZIP files.
> 
> 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