I add my .class files directly to the james.bar file by simply using the jar utility that comes with the JDK. Since I use Forte under Windows for editing/compiling, I wrote a batch file that does it all except do the FTP transfer to the Solaris box I use for JAMES.
Later I may write an Apache Ant build.xml to do it all under Forte. ----- Original Message ----- From: "Marc Chamberlin" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Monday, July 08, 2002 12:29 PM Subject: Re: Problems running mailets > Hmmm is that the secret? Maybe there needs to be better documentation on this... ;-) I have been adding my .class files directly to > the james.bar file under apps\james\blocks by first changing its extension to .zip, then using a zip utility like Winzip to add my > mailet.class files into the zip file, and then changing the extension back to .bar... Bit tedious but seems to work... > > Marc.... > > > ----- Original Message ----- > From: "Andrei Ivanov" <[EMAIL PROTECTED]> > To: "James Users List" <[EMAIL PROTECTED]> > Sent: Monday, July 08, 2002 8:48 AM > Subject: Re: Problems running mailets > > > > Try to put your mailet package under phoenix/lib, thoug it is better if you > > will include your mailets.jar into james.sar by modifying sar target inside > > build.xml > > Andrei > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, July 08, 2002 6:38 PM > > Subject: Problems running mailets > > > > > > > Hello All, > > > > > > this is probably a FAQ, but unfortunately i apperantly can't get it to > > work: > > > > > > I have been using Jame 1.2.1 for quite a while now and I am trying to > > > upgrade to 2.0a3. > > > > > > James starts up without any problems using the default configuration. > > > > > > After that i try to include mailets and matchers that I have allready > > > written: I added mailetpackages and matcherpackages, which i reduced for > > the > > > purpose of testing to one simple mailet. > > > > > > However the classloader fails to find my class files. "Requested mailet > > not > > > found: " > > > > > > I have tried adding classpath variables to the run.bat script but this > > > didn't change the situation > > > > > > I am running W2K and Java 1.3 > > > > > > Any suggestions? > > > > > > best regards, > > > > > > Ruud Schramp > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
