You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/02/11 21:10:19 UTC
cvs commit: jakarta-velocity/examples velocity.properties
geirm 01/02/11 12:10:19
Modified: examples velocity.properties
Log:
Removed all old property values. Added a brief note, and an example property setting,
the name of the log file.
Revision Changes Path
1.5 +11 -38 jakarta-velocity/examples/velocity.properties
Index: velocity.properties
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/velocity.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- velocity.properties 2000/11/03 23:29:39 1.4
+++ velocity.properties 2001/02/11 20:10:18 1.5
@@ -1,39 +1,12 @@
-##
-# Properties for the template loader
-##
+#
+# This is a simple example of a velocity properties file.
+#
+# Any property that is not listed here will have it's default
+# value used. The default values are located in :
+# * src/java/org/apache/velocity/runtime/default/velocity.defaults
+# * http://jakarta.apache.org/velocity/developer-guide.html
+#
+# as an example, we are changing the name of the velocity log
+#
+runtime.log = velocity_example.log
-runtime.log = velocity.log
-
-template.loader=org.apache.velocity.runtime.loader.FileTemplateLoader
-
-template.modificationCheckInterval = 2
-
-# #
-# Path to templates.
-# Default=current directory
-##
-template.path=.
-
-# #
-# Cache the templates?
-# #
-template.cache=false
-
-# Options for the Output
-template.encoding=8859_1
-
-
-# This is for #foreach loops. You can
-# retrieve the current number of the item
-# being operated on by using the special
-# $velocityCount variable. Here you can specify
-# what to start the counter at 0 or 1.
-counter.initial.value = 1
-
-# You can name what the counter
-# variable can be accessed as.
-counter.name = velocityCount
-
-# The value for the default content type to return
-# in VelocityServlet
-default.contentType=text/html