velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelvin Tan" <kel...@relevanz.com>
Subject velocimacro.permissions.allow.inline.local.scope (again)
Date Fri, 08 Mar 2002 03:02:53 GMT
Hi,

I'm using Velocity v1.2 (velocity-dep-1.2.jar if it matters).

In my velocity.properties file, I've set the following
velocimacro.library.autoreload = true
velocimacro.context.localscope = false
velocimacro.permissions.allow.inline.local.scope = true
velocimacro.permissions.allow.inline.to.replace.global = true

However, velocity.log produces

Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro : allowInline = true
: VMs can be defined inline in templates
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro :
allowInlineToOverride = true : VMs defined inline may replace previous VM
definitions
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro : allowInlineLocal =
false : VMs defined inline will be  global in scope if allowed.
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro : messages on  : VM
system will output logging messages
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro : autoload on  : VM
system will automatically reload global library macros
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocimacro : initialization
complete.
Fri Mar 08 10:50:11 GMT+08:00 2002   [info] Velocity successfully started.
tarted.

Why is allowInlineLocal=false when I declared it to be true? I checked
velocity.properties in org/apache/velocity/runtime/defaults and I'm pretty
sure I got the keys right. Is it just the log file which is incorrect or is
the property not being set? Any clue anyone?

Regards,
Kelvin Tan

Relevanz Pte Ltd
http://www.relevanz.com

180B Bencoolen St.
The Bencoolen, #04-01
S(189648)

Tel: 238 6229
Fax: 337 4417



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


Mime
View raw message