Velocity is easy to use! A quick way to get started is to skim the references below, then look at the examples and source provided in the distribution. For developers writing web-based applications, the Web Application Guide is highly recommended!
- User's Guide - explains how to write Velocity templates
- Developer's Guide - expains how to user Velocity inside Java programs
- VTL Reference - concise syntax for Velocity Template Language (VTL)
- Web Application Guide - web-based application techniques and VelocityViewServlet tutorial
The best place to start is with the examples provided in the distribution, and with the source code itself, which is included.
If you want to download the latest source, you can do so via the Subversion (svn) source control system.
Instructions for building Velocity from source can be found in the Build document.
Our API documentation is available online, as part of the distribution package, an of course, you can generate it yourself from the included source code.
If you would like to create a full set of detailed API documentation for Velocity, go to the
build directory and run:
The docs will be found in the
Note: Velocity uses the Maven build tool for all code and documentation generation, so you will need to have it installed.