Hmm, that's crummy :=) I'll give it a try though, and maybe look at
improving the configuration handling in the velocity service at some point.

L.

On 10/31/02 12:39 PM, "Chris K Chew" <[EMAIL PROTECTED]> wrote:

> Sheesh, I tried looking through the code that initializes Velocity -- not
> exactly clear at first or second glance.  But it kind of looks like the init
> methods only look for specific keys in the TR.props file.  According to the
> velocity docs, it uses a default config file
> org/apache/velocity/runtime/defaults/velocity.properties (see
> http://jakarta.apache.org/velocity/developer-guide.html#Using%20Velocity%20I
> n%20General%20Applications).  Maybe you can override this by putting this
> file in your WEB-INF/classes, since it should be found before the Velocity
> jar?
> 
> Good luck,
> 
> Chris
> 
> -----Original Message-----
> From: Laurie Harper [mailto:zodiac@;holoweb.net]
> Sent: Wednesday, October 30, 2002 10:18 PM
> To: Turbine Users List
> Subject: Configuring velocity through the velocity service
> 
> 
> How do I pass configuration properties to Velocity from the
> Turbine.properties files? Specifically, I want to enable local macros
> overriding global ones and turn on auto-reload of macos.
> 
> For the former, I tried adding
> services.VelocityService.velocimacro.permissions.allowInlineLocal=true
> to Turbine.properties but it didn't get picked up; is there a different
> naming structure I should be using?
> 
> What about auto-reloading macors? How do I turn that on?
> 
> Thanks,
> 
> L.
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:turbine-user-help@;jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to