RE: Re: reload on demand

2007-03-02 Thread Christophe Pierret
JetBrains IntelliJ IDEA supports reloading classes when you decide by the menu "Run"/"Reload Changed classes". This option only works if you did not modify the structure of the classes (e.g.: by adding methods). It uses support from the JVM debugging APIs so it works very well, it will manage ex

Re: Re: reload on demand

2007-03-01 Thread Kent Tong
Bill Barker wilshire.com> writes: > TC 3.3.x has something like this. You could look at the DependClassLoader > there for some ideas. Right. It seems that the ReloadInterceptor (http://tomcat.apache.org/tomcat-3.3-doc/serverxml.html#ReloadInterceptor) does that. But why it has been removed?

RE: Re: reload on demand

2007-03-01 Thread Bill Barker
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kent Tong > Sent: Thursday, March 01, 2007 5:12 PM > To: dev@tomcat.apache.org > Subject: Re: reload on demand > > Yoav Shapira apache.org> writes: > > > There will always be at least one manual step, because as

Re: Re: reload on demand

2007-03-01 Thread Yoav Shapira
Hi, On 3/1/07, Kent Tong <[EMAIL PROTECTED]> wrote: Christophe Pierret sparus-software.com> writes: > Then you can create a dirty.txt file that you add as a WatchedRessource. > When you are ready to run, "touch" it and it will reload automatically. But then it takes an extra manual step, ie,

Re: Re: reload on demand

2007-03-01 Thread Kent Tong
Christophe Pierret sparus-software.com> writes: > Then you can create a dirty.txt file that you add as a WatchedRessource. > When you are ready to run, "touch" it and it will reload automatically. But then it takes an extra manual step, ie, touching the dirty.txt file, before accessing the webap

RE: Re: reload on demand

2007-03-01 Thread Christophe Pierret
> Kent Tong writes: > > Yoav Shapira apache.org> writes: > > > There's reloadable as a Context attribute, documented at > > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, and you > > can also define a list of static resources (not classes) to be watched > > to trigger a reload