[antlr-interest] StringTemplate 4 Question

Mark javamark at gmail.com
Mon Sep 5 13:29:43 PDT 2011


Hiya All.

In ST 3 you could point to a directory of templates and then retrieve
a templatre instance by it's name via it's name. Simple!

eg:

		StringTemplateGroup group = new StringTemplateGroup("group",
"src/main/resources");
		StringTemplate f = group.getInstanceOf("webpage");

Where webpage.st contains HTML?

In ST 4 I can't seem to get this to work :(

Any ideas?


More information about the antlr-interest mailing list