> Kent Tong writes:
> 
> Yoav Shapira <yoavs <at> 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, via the WatchedResources element.  See the page

> > above and the default Context.xml that ships with Tomcat for an 
> > example.
> 
> Yes, I know about the reloadable flag. But what I'd like is to reload
it
> only when the webapp is accessed again. I don't want it to keep
reloading 
> when I make changes to my Java files. Only when I am ready to test run
it,
> would I like it to reload automatically.

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to