[stringtemplate-interest] Group file refreshing ?
ccbean at gmail.com
Fri Feb 22 10:21:19 PST 2008
According to the documentation, this is actually expected behavior
(under Template and Attribute Lookup Rules): "The refresh interval is
not used for group files because the group file is considered complete
Don't know what I solutions I can recommend for what you're trying to
do, other than changing the behavior of StringTemplateGroupLoader...
On Fri, Feb 22, 2008 at 12:24 AM, Dobes Vandermeer <dobesv at gmail.com> wrote:
> It seems like group files are cached forever and never refreshed, even
> with a refresh interval set.
> This has two implications - first, if I had "dynamic" groups of some
> kind (e.g. for user-defined templates), they'd create a memory leak.
> Second, during development I have to redeploy my war in order to
> reload any group files.
> The part of this that's bugging me now is the lack of reloads - during
> development I set refreshInterval to zero, but that doesn't help with
> the group files.
> Is there something I'm missing ?
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
More information about the stringtemplate-interest