zyga lanex wrote: > > Where can I find these 2 packages, coz i dont have > them in James dir.? > > Zygis > --- Stefano Bagnara <[EMAIL PROTECTED]> 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
You can extract the above .jars from the .sar using a .zip tool. Many choose to work with the James source distribution or download from SVN, as this way you get the to see the source code for other Mailets and Matchers which you may choose to specialise or learn from, rather than starting from scratch. Either way, you will also need to include other .jars from the .sar in your classpath if you create a dependency on them. To deploy your code you need to add them to ~/apps/james/SAR-INF/classes for .classes or ~/apps/james/SAR-INF/lib for .jars and update the <mailetpackages/> and <matcherpackages/> stanzas in config.xml to include package entries for your code. -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
