This is an automated email from the ASF dual-hosted git repository.

cbrisson pushed a commit to branch spring-velocity-support
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git


The following commit(s) were added to refs/heads/spring-velocity-support by 
this push:
     new c96dbe6  Add readme to spring-velocity-support
c96dbe6 is described below

commit c96dbe69e5b0ee87cbdc6b6a645719252fc20565
Author: Claude Brisson <[email protected]>
AuthorDate: Thu Feb 25 14:17:26 2021 +0100

    Add readme to spring-velocity-support
---
 spring-velocity-support/README.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/spring-velocity-support/README.md 
b/spring-velocity-support/README.md
new file mode 100644
index 0000000..f7507ae
--- /dev/null
+++ b/spring-velocity-support/README.md
@@ -0,0 +1,22 @@
+Title: Apache Velocity Spring Support
+
+# Apache Velocity Spring Support
+
+This module is an adaptation of the engine support initially hosted by the 
Spring project in its 3.x versions.
+
+Example configuration:
+
+```xml
+<bean id="velocityEngine"
+    class="org.apache.velocity.spring.VelocityEngineFactoryBean">
+    <property name="velocityProperties">
+        <props>
+            <prop key="resource.loader">class</prop>
+            <prop key="class.resource.loader.class">
+                
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
+            </prop>
+        </props>
+    </property>
+</bean>
+```
+

Reply via email to