#
#  Copyright 2006 - 2012 Hannes Holtzhausen
#
#  Licensed 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.
#

#
# Properties file to setup all required properties for the confgen toolbox
# utility. More information can be obtained from the Toolbox Reference Guide
# at doc/reference.html
#
# $Id: config.properties,v 1.2 2007/11/01 22:53:15 hannes Exp $
#

#
# Properties used to create the services.xml file.
#

#
# The name of our application.
#
registryname=beansdemo
#
# The environment configuration directory.
#
envhome=/opt/local/applications/beansdemo/etc
#
# The service configuration directory.
#
svchome=/opt/local/applications/beansdemo/etc/services


#
# Properties used to create the dao_direct_env.xml file.
#

#
# The type of connection pool. We will be using the default Toolbox 
# connection pool implementation.
#
pooltype=custom
#
# Required parameters to configure the connection pool.
#
poolname=beansdemo
configname=beansdemo
driver=com.mysql.jdbc.Driver
username=beansdemo
password=beansdemo
connectionstring=jdbc:mysql://localhost/beansdemo
poolmax=5
poolinitial=5
query=select 1
#
# Comma separated list of database tables to form the data dictionary.
#
tables=product,product_type,vendor


#
# Name of the ORM configuration.
#
ormconfigname=beansdemo


#
# Properties used to create the web_config.xml and web_validator.xml files.
#

#
# The Finaliser to use when destroying the ControllerServlet
#
finaliser=toolbox.web.ServiceRegistryFinaliser
#
# Properties file name containing resource strings.
#
resource=WebActionMessages


# 
# Properties to create the view_servlet.xml file.
#

#
# The default content type of responses.
#
contenttype=text/html
#
# Mode in which templates will be processed. We will be using "include" mode
# because we are using a master layout template.
#
processmode=include
#
# Name of the master layout template.
#
mastertemplate=master.ftl
#
# The request attribute that must be used to obtain the name of template that
# will represent page content.
#
includeattr=body


#
# Properties used to create the web.xml deployment descriptor.
#

#
# Display name
#
contextname=beansdemo
#
# Include the Authentication filter
#
authedfilter=no
#
# Include the Synchronising Token filter.
#
syncfilter=no
#
# Include the ViewServlet
#
viewservlet=yes