James should compile simply by typing "build" or "./build.sh" in the
directory you unpack it to.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 7:37 AM
> To: James Users List
> Subject: RE: MyMailet runs but cannot pick up MyOther class
>
>
>
> Thanks Steve,
>
> Iam desperately trying to clean up my classpath but havent had
> any success.
>
> The other thing that somebody suggested in the mailing list is to put ur
> dependent classes
> in the james.bar coz that is what the container loads and understands. For
> that I have downloaded the
> source and trying to build from there but using ant and compiling a large
> project is a painful process specially
> for just starting james with the right note.
>
> cheers
>
> kishan
>
>
>
>
>
> Steve Short <[EMAIL PROTECTED]> on 07/02/2002 03:05:22
>
> Please respond to "James Users List" <[EMAIL PROTECTED]>
>
> To:    "'James Users List'" <[EMAIL PROTECTED]>
> cc:
>
> Subject:    RE: MyMailet runs but cannot pick up MyOther class
>
> Kishan,
>
> you've probaby thought of this, but I had a similar problem while
> developing
> mailets using the 2.0a1.  Everything looked good, classpath, jar
> files etc,
> but it turned out there was an older version of one of the classes in the
> classpath. This caused my main class to fail to load.  When I cleaned
> everything up and rebuilt it it worked fine.
>
> Steve
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 10:06 PM
> To: James Users List
> Subject: Re: MyMailet runs but cannot pick up MyOther class
>
>
>
> Thanks Shal,
>
> I have already tried that. Dosent work.
> Infact MyMailet is in the same package as MyOther class. It picks up
> MyMailet but fails on
> getting MyOther class.
> Is it a bug in the new version?
> Is there a way I can get/print the exact error inside james so I know
> exactly what is missing?
> It justs gobbles up the Exception and just hangs on the service method.
> My Conig.xml looks fine.
>
> thanks.
>
> kishan
>
>
>
>
>
> "Shal Jain" <[EMAIL PROTECTED]> on 06/02/2002 04:00:33
>
> Please respond to "James Users List" <[EMAIL PROTECTED]>
>
> To:    "James Users List" <[EMAIL PROTECTED]>
> cc:
>
> Subject:    Re: MyMailet runs but cannot pick up MyOther class
>
> with James 2.0a1 - modify your run script to include on the
> classpath where
> all your dependant classes/jars are located
> I don't know if 2.0a2 automatically looks in the james/lib directory ( a
> convinient location to place your jars etc.)
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 05, 2002 1:05 AM
> Subject: MyMailet runs but cannot pick up MyOther class
>
>
> > Hi,
> >
> > Iam upgrading to version James 2.0a2 or James 2.0a1.
> >
> > My problem is that I cannot call another class from my mailet servlet.
> > my code is like this
> > MyMailet extends GenericMailet :: service(mail){
> >  file://get mime message
> >  myOtherClass = new MyOtherClass();//dosent work
> >  MyOtherClass.service(message);
> > }
> >
> >  I get this servlet running but when it comes to calling other class and
> >  delegating it fails or rather hangs up on the service thread.
> >  It seems it cant find the class in the same package (I come to this
> >  conclusion after using System.out.println to debug).
> >
> >   Same code with earlier version of james is running fine
> >
> >  I have tried everything from putting it in classpath, in lib or jre ext
> >  directory but mailet container cannot pick up this class.
> >
> >  Any help would be great.
> >
> >  cheers
> >
> >  kishan
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ****************************************************************
> > NOTICE - This message is intended only for the use of the
> > addressee named above and may contain privileged and
> > confidential information.  If you are not the intended recipient
> > of this message you are hereby notified that you must not
> > disseminate, copy or take any action based upon it.  If you
> > received this message in error please notify HIC immediately.
> > Any views expressed in this message are those of the individual
> > sender, except where the sender specifically states them to be
> > the views of HIC.
> > ****************************************************************
> >
> >
> > --
> > 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]
>

--
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]>

Reply via email to