Compare commits

...

1 Commits

View File

@@ -28,8 +28,6 @@ import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.app.event.implement.EscapeXmlReference;
import org.apache.velocity.exception.VelocityException;
import org.apache.velocity.runtime.RuntimeConstants;
import org.eclipse.core.runtime.Platform;
import org.talend.core.runtime.util.SharedStudioUtils;
public class TemplateProcessor {
@@ -53,10 +51,6 @@ public class TemplateProcessor {
if (escapeXml) {
engine.setProperty(RuntimeConstants.EVENTHANDLER_REFERENCEINSERTION, EscapeXmlReference.class.getName());
}
if (SharedStudioUtils.isSharedStudioMode()) {
engine.setProperty(RuntimeConstants.RUNTIME_LOG_INSTANCE,
Platform.getConfigurationLocation().getURL().getFile() + "/velocity.log");
}
engine.init();
VelocityContext context = new VelocityContext(contextParams);