You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Weaver, Scott" <Sw...@rippe.com> on 2002/07/16 19:44:16 UTC

RE: How? Specifying other (multiple) paths to search for velocity templates.

Look in TurbineResources.properties for

services.VelocityService.file.resource.loader.path

there are instructions immediately above this entry that explain how to get velocity/turbine to recognize multiple resource paths.

Scott



> -----Original Message-----
> From: Jan Grant [mailto:Jan.Grant@bristol.ac.uk]
> Sent: Tuesday, July 16, 2002 12:23 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: How? Specifying other (multiple) paths to search for velocity
> templates.
> 
> I'm currently working on a bunch of portlets that use velocity. To keep
> a clean line between what jetspeed offers as stock and my stuff, I'd
> like to be able to deploy the .vm files (there are quite a few of them)
> to a different hierarchy under /WEB-INF/myvelocity (say).
> 
> ...but I don't appear to be having much luck in doing so. Configured
> the paths in TurbineResources.properties and TurbineResources.velocity
> (for good measure, because it's not obvious which is used) but the
> change doesn't seem to be taking.
> 
> Any suggestions? I hope this is just a dumb mistake.
> 
> Cheers,
> jan
> 
> --
> jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
> Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
> Don't annihilate, assimilate: MacDonalds, not missiles.
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:jetspeed-user-
> help@jakarta.apache.org>