on 6/14/01 7:28 AM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:

> On 6/14/01 8:50 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
>> I am aware the Turbine will poll for changes to template files, and have seen
>> this to work. 
>> 
>> My question is: Does this apply also to macro libraries?
>> If I make a change to say, vmMacros.vm, I have to restart Turbine to
>> see changes... very frustrating and time consuming.
> 
> Nope, macros aren't reloaded. Geir made a little servlet
> for me once that I could run when I wanted to change macros
> without restarting the servlet container. Maybe you can
> convince him to post it somewhere ;-)
> 

Actually, they are, try fiddling with these Velocity properties...

velocimacro.permissions.allow.inline.to.replace.global
velocimacro.permissions.allow.inline.local.scope

You would define these in the TR.props file under the Velocity Service...

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Ballmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to