I was just looking over ST4 CL6492+, and believe that loading templates
from the classpath is a design error. You should make a
TemplateGroupClassPath class derived from TemplateGroup that loads
templates rooted in the classpath. You can use the classpath as a
"virtual prefix" and optionally specify a sub-directory to filter the
input to a subfolder located in the classpath.

 

Thanks,

Sam

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to