You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Christopher Cain <cc...@mhsoftware.com> on 2001/08/11 07:33:59 UTC

[PATCH] TC4 "classes" dir not loaded on win

The {TC4_HOME}/server/classes directory, if created, fails to get added as a 
repository in the ClassLoader on Windows machines. The attached is a two-parter 
resolves the issue. I have tested the patch set on both Win98 and Linux, which 
in this case means that it will work on any other platforms as well.

Enjoy!

- Christopher

Re: [PATCH] TC4 "classes" dir not loaded on win

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 10 Aug 2001, Christopher Cain wrote:

> The {TC4_HOME}/server/classes directory, if created, fails to get
> added as a repository in the ClassLoader on Windows machines. The
> attached is a two-parter resolves the issue. I have tested the patch
> set on both Win98 and Linux, which in this case means that it will
> work on any other platforms as well.
> 

Committed the relevant changes (plus a couple of cases you missed :-), and
created unit tests to make sure we can load both classes and resources
from either $CATALINA_HOME/classes or $CATALINA_HOME/lib/*.jar.  Thanks!

> Enjoy!
> 
> - Christopher

Craig