[stringtemplate-interest] StringTemplate V3.2 for .Net framework - template caching problem

Florin Dumitrescu dumitrescu.florin at gmail.com
Thu Nov 19 05:28:31 PST 2009


Hi guys,

I am not a 100% sure that I'm sending this email to the right location, so
if I am wrong please redirect me.

I need a template engine for .Net and after studying a few alternatives I
came to the conclusion that StringTemplate is one of the best solutions. So
from today I have started using it. However, after just a few minutes I
found a problem. According to
http://www.antlr.org/wiki/display/ST/Defining+Templates#DefiningTemplates-Caching,
the StringTemplateGroup class should use the FileSystemWatcher class
to
check if the template file has changed. However this is not the case. The
template is cached forever and not refreshed when the template file is
updated. Also I did a quick check on the sources using Reflector and it
seems that the FileSystemWatcher is never used. I am using version 3.2 of
StringTemplate for .Net.

Is this a bug in the latest version or am I missing something?


Only the best regards,
Florin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20091119/a420ddeb/attachment.html 


More information about the stringtemplate-interest mailing list