I'm starting a project that involves writing mailets for Apache James. As far as I can tell, the only way to test a change in my code (on Windows) is through the following steps:
apps/james/SAR-INF/lib
directoryI can automate all these steps using Ant and some scripting magic, but I was wondering if I was missing something. Does anyone here have experience developing mailets? Did you use a similar process, or is there an easier way?
For example, is there a way to make a running James instance reload the mailets JAR?
I use the same technique than you. I have followed the only good tutorial I have found about mailet: Working with James, Part 2: Build e-mail based applications with matchers and mailets
For the moment It doesn't seem to have any simple solutions to compile and deploy a mailet.