not sure it is much help here but:

There are two Eclipse plugin that validates the templates directly:
http://code.google.com/p/veloeclipse/
http://veloedit.sourceforge.net/

Otherwise you can write your own Java class to parse the template. If recall correctly, this is not too complex to do and the velocity parser should give you more details onto what is not right.

Cheers,
Guillaume

Le 28/01/2012 03:21, Steve Cohen a écrit :
I would like to validate a template standalone.

I have a template that is giving me errors and since there is a non-trivial build-deploy cycle to get it to run in my application I would like a way to validate the template file itself at the command line.

I have found this:

http://code.google.com/p/velocity-validator/
but it appears to be non-functional. When run as directed it exits immediately telling me to supply a good log4j configuration. I try to supply one (but even this seems excessive for a standalone tool) to no avail.

What is best way forward here?


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



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

Reply via email to