Re: include with absolute path
Claude Brisson <[email protected]>
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <20120612152724.06989567@titan> |
TEMPLATE_ROOT is precisely here to enforce a minimum of security when using the FileResourceLoader, and is not meant to allow to reach files located elsewhere. If you have access to the Velocity configuration, you can add a second resource loader with a TEMPLATE_ROOT that points to C:\Users\me. Claude On Tue, 12 Jun 2012 15:16:10 +0200 [email protected] wrote: > Hello, > > how can I include files, that aren't located under TEMPLATE_ROOT? > These did not work: > #include("file:C:\\Users\\me\\include\\place\\my.properties") > #include("C:\\Users\\me\\include\\place\\my.properties") > #include("C:/Users/me/include/place/my.properties") > > Kind regards, > Kieran >