https://github.com/leon/play-velocity
Velocity ViewEngine
https://github.com/leon/play-velocity
Last synced: 9 months ago
JSON representation
Velocity ViewEngine
- Host: GitHub
- URL: https://github.com/leon/play-velocity
- Owner: leon
- Created: 2012-04-10T21:43:42.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-23T21:37:06.000Z (about 14 years ago)
- Last Synced: 2024-12-28T00:43:30.223Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 179 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Velocity
This plugin is BETA and may or may not work properly, I just need some more time to test it properly...
http://velocity.apache.org/
## Installation
Start by adding the plugin, in your `project/Build.scala`
val appDependencies = Seq(
"se.radley" %% "play-plugins-velocity" % "1.0-SNAPSHOT"
)
Then we need to add a resolver so that `sbt` knows where to get it from
val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(
resolvers += "OSS Repo" at "https://oss.sonatype.org/content/repositories/snapshots"
)
We now need to register the plugin, this is done by creating(or appending) to the `conf/play.plugins` file
2000:se.radley.plugin.velocity.VelocityPlugin
We continue to edit the `conf/application.conf` file. We need to disable some plugins that we don't need.
Add these lines:
Check out the [sample directory](https://github.com/leon/play-velocity/tree/master/sample) and the [wiki](https://github.com/leon/play-velocity/wiki)