~hongzhi-wu-sh/jnetfs/trunk

« back to all changes in this revision

Viewing changes to FOS-LE/src/META-INF/velocity.properties

  • Committer: Jacky WU
  • Date: 2010-09-04 13:54:18 UTC
  • Revision ID: jacky@laptop-20100904135418-6e5x72cftn06mnhx
add ipod fs support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#----------------------------------------------------------------------------
2
 
# These are the default properties for the
3
 
# Velocity Runtime. These values are used when
4
 
# Runtime.init() is called, and when Runtime.init(properties)
5
 
# fails to find the specificed properties file.
6
 
#----------------------------------------------------------------------------
7
 
 
8
 
 
9
 
#----------------------------------------------------------------------------
10
 
# R U N T I M E  L O G  
11
 
#----------------------------------------------------------------------------
12
 
# Velocity uses the Servlet APIs logging facilites.
13
 
 
14
 
#----------------------------------------------------------------------------
15
 
# This controls if Runtime.error(), info() and warn() messages include the
16
 
# whole stack trace. The last property controls whether invalid references
17
 
# are logged.
18
 
#----------------------------------------------------------------------------
19
 
 
20
 
runtime.log.error.stacktrace = false
21
 
runtime.log.warn.stacktrace = false
22
 
runtime.log.info.stacktrace = false
23
 
runtime.log.invalid.reference = true
24
 
 
25
 
 
26
 
#----------------------------------------------------------------------------
27
 
# T E M P L A T E  E N C O D I N G
28
 
#----------------------------------------------------------------------------
29
 
 
30
 
input.encoding=shift_jis
31
 
output.encoding=MS932
32
 
 
33
 
#----------------------------------------------------------------------------
34
 
# T E M P L A T E  L O A D E R S
35
 
#----------------------------------------------------------------------------
36
 
 
37
 
resource.loader = file
38
 
 
39
 
file.resource.loader.description = Velocity File Resource Loader
40
 
file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
41
 
file.resource.loader.path = ../webapps/bookstore
42
 
file.resource.loader.cache = true
43
 
file.resource.loader.modificationCheckInterval = 2
44
 
 
45
 
#----------------------------------------------------------------------------
46
 
# F O R E A C H  P R O P E R T I E S
47
 
#----------------------------------------------------------------------------
48
 
# These properties control how the counter is accessed in the #foreach
49
 
# directive. By default the reference $velocityCount will be available
50
 
# in the body of the #foreach directive. The default starting value
51
 
# for this reference is 1.
52
 
#----------------------------------------------------------------------------
53
 
 
54
 
directive.foreach.counter.name = VelocityCount
55
 
directive.foreach.counter.initial.value = 1
56
 
 
57
 
 
58
 
#----------------------------------------------------------------------------
59
 
# I N C L U D E  P R O P E R T I E S
60
 
#----------------------------------------------------------------------------
61
 
# These are the properties that governed the way #include'd content
62
 
# is governed.
63
 
#----------------------------------------------------------------------------
64
 
 
65
 
directive.include.output.errormsg.start = <!-- include error : 
66
 
directive.include.output.errormsg.end   =  see error log -->
67
 
 
68
 
 
69
 
#----------------------------------------------------------------------------
70
 
# P A R S E  P R O P E R T I E S
71
 
#----------------------------------------------------------------------------
72
 
 
73
 
directive.parse.max.depth = 10
74
 
 
75
 
 
76
 
#----------------------------------------------------------------------------
77
 
# VELOCIMACRO PROPERTIES
78
 
#----------------------------------------------------------------------------
79
 
# global : name of default global library.  It is expected to be in the regular
80
 
# template path.  You may remove it (either the file or this property) if 
81
 
# you wish with no harm.
82
 
#----------------------------------------------------------------------------
83
 
velocimacro.library = /WEB-INF/VM_global_library.vm
84
 
 
85
 
velocimacro.permissions.allow.inline = true
86
 
velocimacro.permissions.allow.inline.to.replace.global = false
87
 
velocimacro.permissions.allow.inline.local.scope = false
88
 
 
89
 
velocimacro.context.localscope = false
90
 
 
91
 
 
92
 
#----------------------------------------------------------------------------
93
 
# INTERPOLATION
94
 
#----------------------------------------------------------------------------
95
 
# turn off and on interpolation of references and directives in string
96
 
# literals.  ON by default :)
97
 
#----------------------------------------------------------------------------
98
 
runtime.interpolate.string.literals = true
99
 
 
100
 
 
101
 
#----------------------------------------------------------------------------
102
 
# RESOURCE MANAGEMENT
103
 
#----------------------------------------------------------------------------
104
 
# Allows alternative ResourceManager and ResourceCache implementations
105
 
# to be plugged in.
106
 
#----------------------------------------------------------------------------
107
 
resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
108
 
resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl