On Fri, 2002-10-25 at 09:48, Geoffrey Talvola wrote: > Jason Hildebrand wrote: > > Earlier this afternoon I committed an auto-reload feature to Webware > > CVS. I'd like to credit Tavis Rudd, who provided the initial > > implementation for this feature. Here are the details: > > > > Overview > > -------- > > The purpose of this feature is to make life easier on the developer by > > having the appserver notice when you make modifications to > > source files > > and restart itself to pick up these changes. > > Excellent! > > > > > > > Details > > ------- > > Source files which are monitored include all *.py files loaded by the > > application server, which includes servlets, __init__.py files in > > package directories, and the Webware sources themselves. > > Does it monitor modules which are imported by servlets? For example, a > SitePage.py located outside of a context that contains a SitePage class that > isn't a servlet itself, but is the base class for many servlets.
Yes, it monitors every module loaded by the python interpreter, regardless of which directory it is located in. > Also, have you tested it on Windows (both as a console process and as an NT > Service)? Sorry, I forgot to mention this is in the announcement: I didn't know if there is a Win32 equivalent to exec() (to replace the current process), so right now AutoReload will only be activated if os.name == 'posix' (see AutoReloadingAppServer). Of course I should have checked the web, because I note now that Win32 does include the exec*() posix calls. I don't have a Windows machine that I can test on, though -- would you be willing to give it a try? -- Jason D. Hildebrand [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel