dlr 00/10/22 14:44:14 Modified: examples velocity.properties Log: Added documentation, some possible values, and defaults. Revision Changes Path 1.2 +29 -23 jakarta-velocity/examples/velocity.properties Index: velocity.properties =================================================================== RCS file: /home/cvs/jakarta-velocity/examples/velocity.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- velocity.properties 2000/09/30 17:04:20 1.1 +++ velocity.properties 2000/10/22 21:44:13 1.2 @@ -1,35 +1,41 @@ -## +###################################################### # Properties for the template loader -## +# Assume that properties are case sensitive +# -## -# What loader to use. This allows you to plug-in your own loader. -## +# What loader to use (plug-in your custom template loader here) template.loader=org.apache.velocity.runtime.FileTemplateLoader -template.modificationCheckInterval = 2 +# Time in milliseconds to wait before checking templates for modification +# default: 2 +template.modificationCheckInterval=2 -# # -# Path to templates. -# Default=current directory -## +# Path to templates +# default: . template.path=. -# # -# Cache the templates? -# # +# Whether to cache templates +# possible values: true | false +# default: false template.cache=false -# These are case sensitive +# Which AST processor to use +template.processor=org.apache.velocity.processor.javacc.JavaCCProcessor -template.processor = org.apache.velocity.processor.javacc.JavaCCProcessor -template.syntax = velocity -#template.syntax = webmacro -#template.mode=NodeView +# Template syntax to use +# possible values: velocity | webmacro +# default: velocity +template.syntax=velocity + +# possible values: Injector | NodeView | SinglePass +# default: SinglePass template.mode=SinglePass -#template.mode=Injector -# Options for the FastWriter -template.encoding = UTF8 -#template.asciihack = true -template.asciihack = false +# FastWriter encoding +# default: UTF8 +template.encoding=UTF8 + +# FastWriter ASCII mode +# possible values: true | false +# default: false +template.asciihack=false
