Dependencies
VelocityTools requires certain external jar dependencies at different times. These charts should help you determine which jars you need and when.
Note: Java version 1.5+ is required for compilation, testing and use of VelocityTools 2.x.
| Jar Name |
Version |
Compile |
Runtime |
Notes |
| commons-beanutils |
1.7.0 |
Yes |
Yes |
Required for core infrastructure, MathTool and SortTool |
| commons-collections |
3.1 |
Yes |
Yes |
Velocity requires this. |
| commons-digester |
1.8 |
Yes |
Yes |
Required for xml configuration |
| commons-lang |
2.1 |
Yes |
No |
Required for EscapeTool |
| commons-logging |
1.1 |
Yes |
Yes |
Required for Digester and LogChuteCommonsLog |
| dom4j |
1.1+ |
Yes |
No |
Required only for XmlTool |
| oro |
2.0+ |
No |
No |
A Velocity dependency (only used by certain EventHandlers) |
| velocity |
1.5+ |
Yes |
Yes |
Required for core infrastructure, ClassTool, LinkTool, LoopTool, RenderTool and XmlTool |
VelocityView
VelocityStruts
| Jar Name |
Version |
Compile |
Runtime |
Notes |
| commons-beanutils |
1.7.0 |
Yes |
Yes |
Required for core infrastructure, MathTool and SortTool |
| commons-chain |
1.1 |
No |
Yes |
Struts 1.3+ requires this. |
| commons-collections |
3.1 |
Yes |
Yes |
Velocity requires this. |
| commons-digester |
1.8 |
Yes |
Yes |
Required for xml configuration |
| commons-lang |
2.1 |
Yes |
No |
Required for EscapeTool and VelocityViewServlet |
| commons-logging |
1.1 |
Yes |
Yes |
Required for Struts, Digester, and LogChuteCommonsLog |
| dom4j |
1.1+ |
Yes |
No |
Required only for XmlTool |
| struts-core |
1.3.8 |
Yes |
Yes |
Required for all VelocityStruts tools |
| struts-taglib |
1.3.8 |
Yes |
Yes |
Required for FormTool, SecureLinkTool and StrutsLinkTool |
| struts-tiles |
1.3.8 |
Yes |
Yes |
Required for TilesTool |
| ssl-ext |
1.2 |
Yes |
No |
Required for SecureLinkTool |
| commons-validator |
1.3.1 |
Yes |
Yes |
Required for ValidatorTool |
| oro |
2.0+ |
No |
No |
A Velocity dependency (only used by certain EventHandlers) |
| servletapi |
2.3+ |
Yes |
Yes |
Required for all VelocityStruts tools and all VelocityView tools except for RenderTool |
| velocity |
1.5+ |
Yes |
Yes |
Required for core infrastructure, ClassTool, LoopTool, RenderTool, XmlTool, AbstractSearchTool, ViewContextTool, LinkTool, SecureLinkTool, StrutsLinkTool, TilesTool and MessageTool |