I am having a problem, when trying to load a presentation template from my classpath instead of putting it into the "/Company Home/" Directory (by using names of course then). The ClassPathRepoTemplateLoader does not get involved in any way. Somehow the file I am referencing to, gets a NodeRef (I do not know where from) when taking a look into the code with the debugger.
I put the "render_block.ftl" template into an additional jar file (lying around in the exploded war) inside the "alfresco/extension/templates" directory of the jar - implying that the ClassPathRepoTemplateLoader should get involved. When using the eclipse debugger I found out that there is no involvement of the class whatsoever.
Can anyone shed some light on which templatePath I should use in this case or whether there is actually a bug. I would love to have all files inside a jar instead of putting them inside the repository (easy to replace and upgrade).