You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by ps...@comcen.com.au on 2001/07/18 03:57:27 UTC

ATTN: Scott Eade. (WAS: caching templates)

Scott,
I think you were asking about how to get velocity
to reload macros without restarting, well, I've
been all the ways through this with Gier a few weeks ago
and it seems in addition to setting the TRProps
correctly, if you call #parse("yourlib.vm") before
using it, you will see any changes you have made 
and saved while Turbine is running (I'm assuming Turbine,
though principle is same).

The docs say #parse() will render to the screen, but it
does not, (which suits me fine anyway), so just use
#parse() before using your function and you'll be fine. :)

Patrick.