I need to work in velocity, I read the getting started sections from velocity.apache.org but it doesn’t explain how I should install, set it up.
I’ve installed the Velocity UI from eclipse’s update manager. And then I copied the velocity-1.7.jar and velocity-1.7-dep.jar in java/lib/ext and included them in the jre6 (standard VM) at Preferences/Java/Installed JRE’s.(don’t really know if this is correct).
I made a dynamic web project, and in it tried a example class vrom the velocity 1.7 folder, but it doesn’t work, has no errors but it doesn’t recognize the resources.
What do I have to do with the template, where in the projects folder do I have to put it.
And do I have to do something else to set Velocity up?
Thanks in advance for helping a beginner.
I need to work in velocity, I read the getting started sections from velocity.apache.org
Share
For a web project you should place the jars in
WEB-INF/libfolder.for further information about the WAR packaging see Web Modules in JEE5 Tutorial
In eclipse you need to add them the class-path by
Placing dependend jars in $JAVA_HOME/lib/ext isn’t recommended.