config/Openbravo.properties.template
author Antonio Moreno <antonio.moreno@openbravo.com>
Thu, 24 Jun 2010 11:58:06 +0200
changeset 7751 effc222a5857
parent 7592 85eb92e7e94b
child 7976 73f4cd5e50ab
permissions -rw-r--r--
Implemented reversal of configuration script functionality.
This functionality basically allows a developer to export a module even when there is a configuration script in the system which modifies its contents.
Also, fixed some issues related to formalChanges script.
carlos@0
     1
# *************************************************************************
carlos@0
     2
# * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     3
# * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     4
# * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     5
# * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     6
# * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     7
# * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     8
# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
     9
# * License for the specific  language  governing  rights  and  limitations
carlos@0
    10
# * under the License. 
carlos@0
    11
# * The Original Code is Openbravo ERP. 
ggi@6702
    12
# * The Initial Developer of the Original Code is Openbravo SLU 
asier@6792
    13
# * All portions are Copyright (C) 2007-2010 Openbravo SLU 
carlos@0
    14
# * All Rights Reserved. 
carlos@0
    15
# * Contributor(s):  ______________________________________.
carlos@0
    16
# ************************************************************************
harpreet@5497
    17
#
juanpablo@2744
    18
# Documentation at http://wiki.openbravo.com/wiki/Openbravo.properties
juanpablo@2744
    19
juanpablo@1890
    20
####################
juanpablo@1890
    21
# Date/time format #
juanpablo@1890
    22
####################
juanpablo@1890
    23
juanpablo@481
    24
dateFormat.js=%d-%m-%Y
juanpablo@481
    25
dateFormat.sql=DD-MM-YYYY
juanpablo@481
    26
dateFormat.java=dd-MM-yyyy
juanpablo@481
    27
dateTimeFormat.java=dd-MM-yyyy HH:mm:ss
asier@5244
    28
dateTimeFormat.sql=DD-MM-YYYY HH24:MI:SS
asier@41
    29
juanpablo@1890
    30
###########
juanpablo@1890
    31
# General #
juanpablo@1890
    32
###########
juanpablo@1890
    33
juanpablo@1890
    34
# Static content URL. Use the default value to make it dynamic.
juanpablo@1890
    35
# Don't change this unless you know what you are doing
juanpablo@1890
    36
web.url=@actual_url_context@/web
juanpablo@1890
    37
juanpablo@1890
    38
# Full URL of the context, *only* used by the Web Services installation
juanpablo@1890
    39
context.url=http://localhost:8080/openbravo
juanpablo@1890
    40
juanpablo@1890
    41
# Absolute path to the attachments directory
juanpablo@1890
    42
attach.path=/opt/openbravo/attachments
juanpablo@1890
    43
juanpablo@1890
    44
# Context name, used in the final war file
juanpablo@1890
    45
context.name=openbravo
juanpablo@1890
    46
juanpablo@1891
    47
# Root sources directory, used by modularity
juanpablo@1891
    48
source.path=/opt/openbravo
juanpablo@1891
    49
ivan@4912
    50
#Deploy mode: valid values [class, war, none]
asier@1977
    51
deploy.mode=class
asier@1977
    52
juanpablo@1890
    53
############
juanpablo@1890
    54
# Database #
juanpablo@1890
    55
############
juanpablo@1890
    56
juanpablo@2208
    57
# Oracle example:
juanpablo@1890
    58
#
juanpablo@2744
    59
# bbdd.rdbms=ORACLE
juanpablo@2744
    60
# bbdd.driver=oracle.jdbc.driver.OracleDriver
juanpablo@2744
    61
# bbdd.url=jdbc:oracle:thin:@localhost:1521:xe
juanpablo@2208
    62
# bbdd.sid=xe
juanpablo@2208
    63
# bbdd.systemUser=SYSTEM
juanpablo@2208
    64
# bbdd.systemPassword=SYSTEM
juanpablo@2208
    65
# bbdd.user=TAD
juanpablo@2208
    66
# bbdd.password=TAD
juanpablo@2208
    67
# bbdd.sessionConfig=ALTER SESSION SET NLS_DATE_FORMAT='DD-MM-YYYY' NLS_NUMERIC_CHARACTERS='.,'
juanpablo@1890
    68
antonio@7592
    69
# Oracle instances in linux, can delay on getting DB connection (issue #12683). 
antonio@7592
    70
# In these cases this property can be set to solve the problem
antonio@7592
    71
# java.security.egd=file:///dev/urandom
antonio@7592
    72
juanpablo@2744
    73
bbdd.rdbms=POSTGRE
juanpablo@2744
    74
bbdd.driver=org.postgresql.Driver
juanpablo@2744
    75
bbdd.url=jdbc:postgresql://localhost:5432
juanpablo@2208
    76
bbdd.sid=openbravo
juanpablo@2209
    77
bbdd.systemUser=postgres
juanpablo@2208
    78
bbdd.systemPassword=syspass
juanpablo@2208
    79
bbdd.user=tad
juanpablo@2208
    80
bbdd.password=tad
juanpablo@2208
    81
bbdd.sessionConfig=select update_dateFormat('DD-MM-YYYY')
asier@41
    82
juanpablo@2744
    83
##################
juanpablo@2744
    84
# Tomcat manager #
juanpablo@2744
    85
##################
juanpablo@2744
    86
#
juanpablo@2744
    87
tomcat.manager.url=http://localhost:8080/manager
juanpablo@2744
    88
tomcat.manager.username=admin
juanpablo@2744
    89
tomcat.manager.password=admin
juanpablo@2744
    90
juanpablo@1890
    91
##########################
juanpablo@1890
    92
# Development parameters #
juanpablo@1890
    93
##########################
juanpablo@481
    94
juanpablo@578
    95
bbdd.outputscript=databasescript.sql
juanpablo@481
    96
bbdd.verbosity=INFO
gorkaion@1048
    97
juanpablo@1890
    98
# CSS Sprites Generator
david@1883
    99
generateSprites=no
david@1883
   100
stefan@2143
   101
# use js/css minimization (in local-context and war-file)
stefan@2143
   102
minimizeJSandCSS=yes
stefan@2143
   103
stefan@5227
   104
# How sqlc should execute the queries embedded in xsql file at compilation time
stefan@5227
   105
# traditional: only uses the base query ignoring all optional parameters
stefan@5227
   106
# optimized: includes most optional parameter to achieve better performance
stefan@5227
   107
# If optimized fails for some xsql files, downgrade level to traditional
stefan@5227
   108
sqlc.queryExecutionStrategy=optimized
stefan@5227
   109
juanpablo@1890
   110
##################
juanpablo@1890
   111
# Authentication #
juanpablo@1890
   112
##################
juanpablo@1890
   113
juanpablo@1890
   114
# Leave this empty to use the default login hardler.
juanpablo@1890
   115
# LAM server example: org.openbravo.authentication.lam.LamAuthenticationManager
gorkaion@1048
   116
authentication.class=
juanpablo@1890
   117
juanpablo@1890
   118
###########
juanpablo@1890
   119
# Add-ons #
juanpablo@1890
   120
###########
juanpablo@1890
   121
juanpablo@1890
   122
# External Pentaho Services
juanpablo@1890
   123
pentahoServer=
antonio@3077
   124
antonio@3077
   125
##############
antonio@3077
   126
# Validation #
antonio@3077
   127
##############
antonio@3077
   128
asier@3839
   129
validate.model=true
asier@3839
   130
isMinorVersion=false
antonio@5604
   131
antonio@5604
   132
##############
antonio@5604
   133
# Safe mode  #
antonio@5604
   134
##############
antonio@5604
   135
antonio@5609
   136
# This property is used to activate/deactivate the safe mode of Openbravo ERP
antonio@5609
   137
# When this property is activated, if the last build wasn't succesful, or Tomcat
antonio@5609
   138
# wasn't restarted, users will only be able to login in the application 
antonio@5609
   139
# with role System Administrator
antonio@5609
   140
antonio@6497
   141
safe.mode=true
martin@6008
   142
antonio@7751
   143
################################
antonio@7751
   144
# Strict Template Application  #
antonio@7751
   145
################################
antonio@7751
   146
antonio@7751
   147
# This property is used to set the configuration script application mode.
antonio@7751
   148
# If the template application mode is strict, then inconsistencies in the template
antonio@7751
   149
# (such as the value to be changed being different from the value in a column
antonio@7751
   150
# data change of a configuration script) will make the process fail.
antonio@7751
   151
# If it's not strict the process will show a warning, but otherwise continue
antonio@7751
   152
antonio@7751
   153
# For production environments, this property should be false.
antonio@7751
   154
# For development environments, specially those working with
antonio@7751
   155
# Industry templates and configuration scripts, it is advisable to set this property to true
antonio@7751
   156
antonio@7751
   157
strict.template.application=false
antonio@7751
   158
martin@6008
   159
##############
martin@6008
   160
# Hibernate #
martin@6008
   161
##############
martin@6008
   162
martin@6008
   163
# if this property is set then the mapping will be written to the file
martin@6008
   164
# defined by this property, note the value should be the complete path 
martin@6008
   165
# including the file name and extension.
martin@6008
   166
# hibernate.hbm.file=/tmp/hibernate.hbm.xml
asier@6774
   167
asier@6774
   168
asier@6776
   169
###################
asier@6776
   170
# Log in security #
asier@6776
   171
###################
asier@6774
   172
asier@6774
   173
# If these properties are set, after log in trail failed the response time 
asier@6774
   174
# will be delayed, and the user can be blocked.
asier@6790
   175
login.trial.delay.increment=0
asier@6790
   176
login.trial.delay.max=0
asier@6774
   177
login.trial.user.lock=0