You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by ps...@comcen.com.au on 2001/06/22 06:32:18 UTC

TIP: Reloading modified Macros..

FYI,
To see modifications to a velocity Macro library
without restarting, the #parse() statement
must be executed on that library.

ie,
 Given you make some changes to a macro
 in library myFunctions.vm, before you 
 want to use the modified macro,
 execute this statement:

   #parse("myFunctions.vm")

Velocity will reload all Macros and your changes
will become visible ASSUMING you have the 
velocity properties set correctly to disable caching.

Patrick.


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