All Projects → apache → Velocity Engine

apache / Velocity Engine

Licence: apache-2.0
Mirror of Apache Velocity Engine

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Velocity Engine

Paper Onboarding Android
PaperOnboarding is a material design slider made by @Ramotion
Stars: ✭ 2,496 (+1024.32%)
Mutual labels:  library
Midir
Cross-platform realtime MIDI processing in Rust.
Stars: ✭ 221 (-0.45%)
Mutual labels:  library
Nusoap
😏 Fixed NuSOAP for PHP 5.6 - 8.0
Stars: ✭ 224 (+0.9%)
Mutual labels:  library
Dynamic Support
A complete library to build Android apps with a built-in theme engine.
Stars: ✭ 218 (-1.8%)
Mutual labels:  library
Vmime
VMime Mail Library
Stars: ✭ 218 (-1.8%)
Mutual labels:  library
Pdf Lib
Create and modify PDF documents in any JavaScript environment
Stars: ✭ 3,426 (+1443.24%)
Mutual labels:  library
Venom
A lightweight tool that simplifies testing of the process death scenario.
Stars: ✭ 218 (-1.8%)
Mutual labels:  library
Php Validate
Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
Stars: ✭ 225 (+1.35%)
Mutual labels:  library
Material Backdrop
A simple solution for implementing Backdrop pattern for Android
Stars: ✭ 221 (-0.45%)
Mutual labels:  library
Androidappshortcuts
App Shortcuts for Android on Pre Nougat 7.1!
Stars: ✭ 223 (+0.45%)
Mutual labels:  library
Libonnx
A lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
Stars: ✭ 217 (-2.25%)
Mutual labels:  library
Sslyze
Fast and powerful SSL/TLS scanning library.
Stars: ✭ 2,623 (+1081.53%)
Mutual labels:  library
Lfortran
Official mirror of https://gitlab.com/lfortran/lfortran. Please submit pull requests (PR) there. Any PR sent here will be closed automatically.
Stars: ✭ 220 (-0.9%)
Mutual labels:  library
Fabulousfilter
Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Stars: ✭ 2,477 (+1015.77%)
Mutual labels:  library
Newnode
NewNode decentralized Content Distribution Network
Stars: ✭ 223 (+0.45%)
Mutual labels:  library
Search Engine Parser
Lightweight package to query popular search engines and scrape for result titles, links and descriptions
Stars: ✭ 216 (-2.7%)
Mutual labels:  library
C Algorithms
A library of common data structures and algorithms written in C.
Stars: ✭ 2,654 (+1095.5%)
Mutual labels:  library
Libmypaint
libmypaint, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects.
Stars: ✭ 225 (+1.35%)
Mutual labels:  library
Simplenetwork
simple TCP server / client C++ linux socket
Stars: ✭ 225 (+1.35%)
Mutual labels:  library
Swift Essentials
A set of essential Swift stuff I use in every single iOS app.
Stars: ✭ 223 (+0.45%)
Mutual labels:  library

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 Spring framework
src/                        Source for parent modules, mainly changelog

REQUIREMENTS

Apache Velocity 2.2 will run with any Java runtime engine v1.8 or greater.

Building from source requires Java development kit v1.8 or greater and Maven 3 (3.0.5+).

At compile time, Maven should fetch all engine needed dependencies, which are:

  • commons-lang v3.9
  • slf4j-api v1.7.30

plus the following ones, needed for the integrated tests:

  • slf4j-simple v1.7.30
  • junit v4.13
  • hsqldb v2.5.0
  • commons-io 2.8.0

At runtime, Velocity only needs:

  • commons-lang v3.9+
  • slf4j-api and an slf4j binding, v1.7.30+

BUILDING APACHE VELOCITY

In order to use the latest version of Apache Velocity, you may want to build it.

Building is easy. All components necessary to build are included or get downloaded from the internet during the build, except for the Java SDK and the Maven build tool. You can find details online on how to build Velocity.

IMPORTANT As the Apache Velocity build process wants to download a number of jars from the internet, you must be online when you are building for the first time.

To build Velocity's jar, just run maven using the command:

mvn

This will create a target/ directory containing the Velocity .jar file in each sub-module directory.

Be sure to update your classpath to include Velocity's .jar file, or when using a modern servlet container, put it in the WEB-INF/lib directory.

CUSTOMIZING THE PARSER

Since 2.2, it's possible to build a custom parser, to change some of the characters used by in 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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].