From c71244478970be13255b297cf1e7cd2f85a91444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hendrik=20Mor=C3=A9e?= Date: Wed, 22 Oct 2014 21:51:23 +0200 Subject: [PATCH] Update VelocityHelper.java Where is this line for? It breaks the '#set ($idadd = $idadd + 1)' in metadatatable.vm --- .../java/de/fuberlin/wiwiss/pubby/servlets/VelocityHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/de/fuberlin/wiwiss/pubby/servlets/VelocityHelper.java b/src/main/java/de/fuberlin/wiwiss/pubby/servlets/VelocityHelper.java index eb24c2d..8a3d31a 100644 --- a/src/main/java/de/fuberlin/wiwiss/pubby/servlets/VelocityHelper.java +++ b/src/main/java/de/fuberlin/wiwiss/pubby/servlets/VelocityHelper.java @@ -70,8 +70,7 @@ private VelocityEngine createVelocityEngine() { result.setProperty("output.encoding", "utf-8"); result.setProperty("file.resource.loader.path", servletContext.getRealPath("/") + "/WEB-INF/templates/"); - result.setProperty("velocimacro.context.localscope", true); - + // Turn off Velocity logging result.setProperty("runtime.log.logsystem.class", "org.apache.velocity.runtime.log.NullLogSystem");