Date: 2004-04-15T22:13:14 Editor: 64.0.254.106 <> Wiki: Apache James Wiki Page: CustomMailetPackages URL: http://wiki.apache.org/james/CustomMailetPackages
no comment Change Log: ------------------------------------------------------------------------------ @@ -37,15 +37,19 @@ Community member IanH contributes the following: +(Minor corrections by Andrew Hayden 16 Apr 2004 @ 01:12) + If you are on 2.1.x, you need to 1. unjar the James.sar file 1. unjar the james.jar (or .bar for 2.0.x) file - 1. add your mailet class in the james.jar (or .bar for 2.0.x) file + 1. add your mailet's .class files into the james.jar (or .bar for 2.0.x) file 1. rejar james.jar or .bar 1. rejar james.sar Here's the ant xml snippet which requires James 2.1.x (doesn't work for James 2.0.x) -and Ant version that supports <jar ... update='true' /> +and Ant version that supports <jar ... update='true' />, assuming you've placed your +compiled .class files (and the appropriate package directory structure) into a +subdirectory called 'myCompiledMailet': {{{ <!--