You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/02 06:48:04 UTC

[Jakarta-velocity Wiki] Update of "EnhydraVelocity" by WillGlassHusain

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.

The following page has been changed by WillGlassHusain:
http://wiki.apache.org/jakarta-velocity/EnhydraVelocity

The comment on the change is:
move from contrib

New page:
This is a simple example of how Velocity may be used
with Enhydra.

How to set-up:

1. Add the velocity jar and the velocity service classes ( see classes dir )
   to your classpath.  Optionally, you can add this info to the config.mk and start.in 
   files of your application

2. Add the following line to your Enhydra application conf file:
 
   velocity = "THE FULL PATH TO VELOCITY PROPERTIES FILE"
   Example: velocity = "/dave/enhydraApps/VelocityApplication/velocity.properties"

3. Set the path to your template directory in the velocity.properties file:

   file.resource.loader.path = "FULL PATH TO THE TEMPLATES DIRECTORY"
   Example: file.resource.loader.path = /dave/enhydraApps/VelocityApplication/templates


Have fun...

Download Files

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org