Throw a build exception if Velocity freaks out.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5863 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-07-12 22:05:39 +00:00
parent 1e2b48deb2
commit f7152e9ac6
@@ -249,8 +249,7 @@ public class GenDObjectTask extends Task
_velocity.mergeTemplate(
BASE_TMPL + tname, "UTF-8", ctx, mwriter);
} catch (Exception e) {
System.err.println("Failed processing template");
e.printStackTrace(System.err);
throw new BuildException("Failed processing template", e);
}
// and append them as appropriate to the string buffers