Hi all,
  I'm sure this is a lack of understanding on my part, but I can't seem to enable any of the additional tools in velocity.  I've added the mathtool to the toolbox.xml under WEB-INF (and restarted), but $math is still not available in pages. I added the following to toolbox.xml:
  <tool>
    <key>math</key>
    <scope>application</scope>
    <class>org.apache.velocity.tools.generic.MathTool</class>
  </tool>

And my web.xml points to that toolbox.xml (though I think that's only for the velocityview servlet configuration, not used in xwiki?).  Is there anything else I need to do to enable $math in a page?

I did find that if I explicitly load it, it works:
#set ($math = $context.getClass().forName("org.apache.velocity.tools.generic.MathTool").newInstance())

I know this is highly unrecommended, and I'd like to get it working the normal way.  Any suggestions?

-Tom

--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240   Fax: (913) 599-8590
http://www.ibm.com/software/data