Paul Mossman wrote:
> Hi all,
> 
> Regarding http://list.sipfoundry.org/archive/sipx-dev/msg20221.html, and
> balancing between Java and Velocity...
> 
> It will be trivial to implement in VTL, so long as there's a way to
> increment the Java indexOf() return value from within Velocity.
> 
> The obvious way is with MathTool (and probably NumberTool) from the
> Velocity GenericTools collection.  But these aren't available in the
> standard Velocity jar.
> 
> Any objections to adding velocity-tools-generic-1.4.jar?  (I'll use a
> JIRA issue number this time.)
> 
> (Another option is velocity-tools-1.4.jar, which would also include
> VelocityView and VelocityStruts.  But I don't think those are useful to
> us.)
> 

No objections to introducing and using generic tools.

Regarding Java vs. VTL: we have coverage tools for tests in Java we can
easily check if everything have been tested. If we implement something in
VTL we do test it when generating profiles, but it's easy to miss some "if"
or "loop".

We also have better editor, better warnings and better developers in Java ;-)

So while I have no objections to enabling more functionality in VTL by
injecting the tools in context, please don't overuse it.

D.

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to