Commit 06b6d93b authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Fix template comments

parent 5ac61e82
Pipeline #176816 passed with stages
in 33 minutes
...@@ -19,7 +19,7 @@ public class TemplateHelper { ...@@ -19,7 +19,7 @@ public class TemplateHelper {
String resourceFileName = "/de/monticore/lang/monticar/generator/middleware/templates/" + fileName; String resourceFileName = "/de/monticore/lang/monticar/generator/middleware/templates/" + fileName;
try { try {
tmpStr = IOUtils.toString(TemplateHelper.class.getResourceAsStream(resourceFileName)); tmpStr = IOUtils.toString(TemplateHelper.class.getResourceAsStream(resourceFileName)).replaceAll("<#--[^>]*-->", "");
} catch (Exception e) { } catch (Exception e) {
//Not recoverable //Not recoverable
Log.error("Template file not found: " + resourceFileName); Log.error("Template file not found: " + resourceFileName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment