Hi, I'm having trouble getting my external jar files picked up at runtime and was wondering on the best way to include them. I've seen a few posts on the subject but haven't found the definitive answer....
I'm adding mailet classes to the source distribution of james and then running ant to compile and deploy to dist. This worked well until an external jar was needed by my class. I first placed my jar in /lib which enabled my class to compile and deploy - but failed on startup with classNotFound. I added my jar to /dist/james/lib/ and james started up ok but then failed and went into an infinite loop with ClassNotFound when the my new mailet was executed. � I've tried adding the jar to /dist/james/ext and /dist/james/apps/james/SAR-INF/lib but no Joy. I've read a post mentioning "re-packaging the SAR" - how would I go about this? Or is there a command-line classpath switch I can use? Thanks. Brendan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
