Permalink
Browse files

Fix source generation under Java 1.6.

  • Loading branch information...
jpountz committed Sep 26, 2013
1 parent afbfff0 commit fcb8b94f9dee699edaaac6c0fe6fa27b668e92bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/build/gen_sources.mvel
@@ -12,7 +12,7 @@ def get_template(file) {
def execute_template(template, dest, args) {
System.out.println("Generating " + dest);
dest.getParentFile().mkdirs();
- String result = (String) TemplateRuntime.execute(compiledTemplate, args);
+ String result = (String) TemplateRuntime.execute(compiledTemplate, null, args);
writer = new PrintWriter(dest, "UTF-8");
writer.print(result);
writer.close();

0 comments on commit fcb8b94

Please sign in to comment.