Bump engine to 2.6-SNAPSHOT
8 files changed
tree: dfaf37a8e2f1067f39f49c01da00f25f5032785b
  1. spring-velocity-support/
  2. spring5-velocity-support/
  3. src/
  4. velocity-custom-parser-example/
  5. velocity-engine-core/
  6. velocity-engine-examples/
  7. velocity-engine-scripting/
  8. .asf.yaml
  9. .gitattributes
  10. .gitignore
  11. LICENSE
  12. NOTICE
  13. pom.xml
  14. pom.xml.versionsBackup
  15. README.md
  16. release.sh
README.md

Title: Apache Velocity Engine

Apache Velocity

Welcome to Apache Velocity Engine! Apache Velocity is a general purpose template engine written in Java. For more information about Velocity, please look at the HTML documentation on the Velocity web site.

Here's a description of the top level directories:

velocity-engine-core/       The Velocity Engine core module
velocity-engine-examples/   Several simple examples
velocity-engine-scripting/  JSR-223 implementation for Velocity scripting
spring-velocity-support     Velocity Engine factory bean for current Spring (6.x/7.x, Java 17)
spring5-velocity-support    Velocity Engine factory bean for legacy Spring 5.x (Java 8)
src/                        Source for parent modules, mainly changelog

Apache Velocity requires at least Java 8 to run.

CUSTOMIZING THE PARSER

It is possible to build a custom parser, to change some of the characters used by the VTL syntax: *, @, $ and #.

Let's say you want to merge some templatized jQuery code full of $ characters, you can for instance build you own parser which will use the ยง character as references prefix instead of $.

TRYING THE EXAMPLES

After building Velocity, you can also build the examples that are included with the Velocity distribution. These examples show how to use Velocity in your Java applications.

For more information, please see the examples README in the velocity-engine-examples directory.


  • The Apache Velocity Team