RE: Classes Directory

2005-09-01 Thread Steve Brewin
gt; Subject: Re: Classes Directory > > > As it turns out, this ended up being a class loader problem. > In reviewing > the James source code, I see two problems: > 1) It uses this.class.getClassLoader(), rather than the preferred > Thread.currentThread.getContextClassLoader(). Thi

Re: Classes Directory

2005-09-01 Thread Ben Lindahl
; > Actually, this is not resolved. It now loads classes from the classes > directory, but it does not load resources from there (this probably has > something to do with the fact that when it loads classes, it does not > actually load the classes directory onto the classpath). Th

Re: Classes Directory

2005-08-31 Thread Ben Lindahl
Actually, this is not resolved. It now loads classes from the classes directory, but it does not load resources from there (this probably has something to do with the fact that when it loads classes, it does not actually load the classes directory onto the classpath). Therefore, I need a way

Re: Classes Directory

2005-08-30 Thread Ben Lindahl
encountered the problem, but I can give you an hint: you should > look at org.apache.james.transport.Loader to see how James does handle the > classloading for matcher/mailets. Maybe this helps. > > Stefano > > > Hey all, > > > > I'm trying to set up a classe

Re: Classes Directory

2005-08-30 Thread Stefano Bagnara
Hi Ben, I've not encountered the problem, but I can give you an hint: you should look at org.apache.james.transport.Loader to see how James does handle the classloading for matcher/mailets. Maybe this helps. Stefano > Hey all, > > I'm trying to set up a classes directory w

Classes Directory

2005-08-29 Thread Ben Lindahl
Hey all, I'm trying to set up a classes directory within one of my SAR projects. I realize that SAR-INF/classes doesn't work, but I would like to have a classes directory to avoid having to modify my application's configuration files in Jar files. The only solution I have com