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:
@@ -249,8 +249,7 @@ public class GenDObjectTask extends Task
|
|||||||
_velocity.mergeTemplate(
|
_velocity.mergeTemplate(
|
||||||
BASE_TMPL + tname, "UTF-8", ctx, mwriter);
|
BASE_TMPL + tname, "UTF-8", ctx, mwriter);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.err.println("Failed processing template");
|
throw new BuildException("Failed processing template", e);
|
||||||
e.printStackTrace(System.err);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// and append them as appropriate to the string buffers
|
// and append them as appropriate to the string buffers
|
||||||
|
|||||||
Reference in New Issue
Block a user