velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <cla...@savoirweb.com>
Subject Re: Autoreload and WebappLoader
Date Sun, 17 Aug 2003 08:29:57 GMT
> isSourceModified and getLastModified are basically no-ops for the WebappLoader

the main problem here is that the WebappLoader accesses resources via the servlet api (to
work as well with exploded resources as
with war files), and that the actual servlet api doesn't give us any date/time information
on files. Maybe that would be the kind of
feedack to give to w3c folks.

A potential workaround would be to reload all resources in dev mode, and not to reload any
one in production mode (except on some
'reload' signal manually generated, to avoid restarting ?)

CloD




Mime
View raw message