# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #---------------------------------------------------------------------------- # These are the default properties for the # Velocity Runtime. These values are used when # Runtime.init() is called, and when Runtime.init(properties) # fails to find the specificed properties file. #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # R U N T I M E L O G #---------------------------------------------------------------------------- # This is the location of the Velocity Runtime log. #---------------------------------------------------------------------------- runtime.log = velocity.log # use Commons Logging for routing Velocity message through our IsolatedLog4JLogger runtime.log.logsystem.class =org.apache.jetspeed.webapp.logging.velocity.CommonsLoggingLog4JLogSystem # Log4J Category used (default is "velocity") runtime.log.logsystem.log4j.category = velocity #---------------------------------------------------------------------------- # T E M P L A T E E N C O D I N G #---------------------------------------------------------------------------- template.encoding=8859_1 #---------------------------------------------------------------------------- # C O N T E N T T Y P E #---------------------------------------------------------------------------- # This is the default content type for the VelocityServlet. #---------------------------------------------------------------------------- default.contentType=text/html #---------------------------------------------------------------------------- # F O R E A C H P R O P E R T I E S #---------------------------------------------------------------------------- # These properties control how the counter is accessed in the #foreach # directive. By default the reference $velocityCount will be available # in the body of the #foreach directive. The default starting value # for this reference is 1. #---------------------------------------------------------------------------- counter.name = velocityCount counter.initial.value = 1 #---------------------------------------------------------------------------- # I N C L U D E P R O P E R T I E S #---------------------------------------------------------------------------- # These are the properties that governed the way #include'd content # is governed. #---------------------------------------------------------------------------- include.path=. include.cache = false include.output.errormsg.start = #---------------------------------------------------------------------------- # P A R S E P R O P E R T I E S #---------------------------------------------------------------------------- parse_directive.maxdepth = 10 #---------------------------------------------------------------------------- # T E M P L A T E L O A D E R S #---------------------------------------------------------------------------- # # #---------------------------------------------------------------------------- # Resources resource.loader = file file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader file.resource.loader.cache = true file.resource.loader.modificationCheckInterval = 10 # # This dynamic property must be set at runtime. See JetspeedVelocityViewServlet.java. # # file.resource.loader.path = ${applicationRoot} # # Velocimacros velocimacro.library.autoreload = true velocimacro.permissions.allow.inline.to.replace.global = true velocimacro.library = /WEB-INF/jetspeed_macros.vm #---------------------------------------------------------------------------- # E X T E R N A L S E R V I C E I N I T I A L I Z A T I O N #---------------------------------------------------------------------------- # If this property is set to true then an external service will # set certain system properties and initialize the Velocity # Runtime. This method is used by Turbine to initialize the # Velocity Runtime for the TurbineVelocityService. #---------------------------------------------------------------------------- external.init = false #---------------------------------------------------------------------------- # C H A R A C T E R E N C O D I N G #---------------------------------------------------------------------------- # Character encoding for input (templates). Using this, you can use # alternative encoding for your templates, such as UTF-8. #---------------------------------------------------------------------------- input.encoding = UTF-8