Apache Velocity: Is there a standard way of verifying the correctness of a template from the command line?
Our website uses the Apache Velocity template language. Our Content Management System already checks any generated XML documents for well-formedness. We've been asked to check documents to catch Velocity syntax errors before pushing the files to the live site. Is there a standard way of verifying the correctness of a Velocity template from the command line? I am prepared to read in the template path, initialize the Velocity Engine, parse the template, and capture any errors as shown on this page , but if there's a ready made tool that takes a file and a configuration, and spits out any errors,