Unfortunately, this is a known bug:
https://issues.apache.org/jira/browse/VELOCITY-710


On Tue, Oct 29, 2013 at 11:57 PM, Greg Huber <gregh3...@gmail.com> wrote:
> Hello,
>
> I am using the reloading macros in a tomcat environment, which is working
> great, but when I add a new macro I seem to have to restart the container.
> Is this correct or am I missing something?
>
> here are my settings:
>
> velocityProps.setProperty("class.resource.loader.cache", "false");
> velocityProps.setProperty("webapp.resource.loader.cache","false");
> velocityProps.setProperty("webapp.resource.loader.modificationCheckInterval",
> "2");
> velocityProps.setProperty("velocimacro.library.autoreload", "true");
>
> in velocity.properties
>
> webapp.resource.loader.path=WEB-INF/velocity/macros.vm
>
>
> Cheers Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...@velocity.apache.org

Reply via email to