Hi,

On Tue, Jul 3, 2012 at 11:00 PM, Jonathan Solichin <[email protected]>wrote:

> Hello friends,
>
> Just wanted to say, I figured out the issue with my changes not loading.
> the macros.vm was getting cached. I put the following lines in
> xwiki.properties to stop it.
>
> velocity.properties = file.resource.loader.cache = false
> velocity.properties = velocimacro.library.autoreload = true
>
> I hope this is the best solution.
>

Yes this is the right solution for fast iteration over macros files in
development mode.

But actually I wouldn't advise to overload macros.vm, from experience it
becomes a maintenance hell over the long term.

I'll try to address the velocity questions/remarks you had in an other mail
tonight

Cheers


>
> Thanks
> JS
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to