On 1/12/06, Oded Arbel <[EMAIL PROTECTED]> wrote: > On Wednesday, 11 בJanuary 2006 18:38, Sriram Narayanan wrote: > > I wrote something that works for me: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=38223 > > Thanks. I didn't use your implementation for the reason noted in the > comment I attached to the issue, but you pointed me in the right > direction. > > I solved the problem by also implementing a web app class loader and > attached the source to the above issue. >
http://issues.apache.org/bugzilla/show_bug.cgi?id=38223 I just added the following functionality: Picks classpath from an XML file You can specify the classpath via an XML file that can be placed anywhere on the file system. The context.xml contains: <Context docBase="d:\temp\testing" reloadable="true" > <Loader className="com.thoughtworks.tomcat.loader.ConfigurableClasspathWebappLoader" classpathEntriesFile="d:\\temp\\configurations.xml" /> </Context> The XML structure is as follows: <configuration> <classpaths> <path> file:/d:/temp/bin/ </path> <path> file:/c:/temp/deleteThis/ </path> </classpaths> </configuration> > Thanks again :-) Let me know if this proves useful to you. > > -- > Oded > -- Sriram