that means that freemarker template is not on the same classpath, to verify that could you try to put your template directly into engine webapp’s classes folder?
I see what you mean. That would be a workaround to symlink my folder here… not ideal but should work.
We should be able to configure the locations for freemarker templates somehow in the future, this is very useful for customizations.
yes, https://app.camunda.com/jira/browse/CAM-3688 looks like exactly what you need. You can vote on that ticket, but I cannot do any promises on when it will be implemented. If you want you can always prepare pull request with implementation, they are more then welcome.
Yes, thanks.
I could do a PR reading from the camunda.cfg.xml the configuration paths either file or classpaths so it’s more generic.
How could I read the configuration file?
I’ve ended up recompiling the Javascript Engine to read the templates from the classpath://templates/ as default to overcome the problem. I’m not sure how to get or pass a camunda.cfg.xml into it.