Hello Devs,
i try to use a custom template in a macro and didn't get the template
loaded. I tried System.getProperty("user.dir") with
"webapps/xwiki/templates/custom.vm". I always get the message "unable to
find resouce in resource loader". Can you give me a hint how i load a
correct VelocityEngine to load a template in the "templates"-directory.
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/How-to-load-VelocityEngine-in-Java-for-a-…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.