config/Openbravo.properties.template
author Antonio Moreno <antonio.moreno@openbravo.com>
Wed, 09 Dec 2009 10:10:32 +0100
changeset 5646 785d51b8023e
parent 5606 7e200dca8ae4
child 5990 2fb77cf4313e
permissions -rw-r--r--
Set system status at the end of smartbuild
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. 
carlos@0
    12
# * The Initial Developer of the Original Code is Openbravo SL 
asier@5235
    13
# * All portions are Copyright (C) 2007-2009 Openbravo SL 
carlos@0
    14
# * All Rights Reserved. 
carlos@0
    15
# * Contributor(s):  ______________________________________.
carlos@0
    16
# ************************************************************************
harpreet@5488
    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@5235
    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
juanpablo@2744
    69
bbdd.rdbms=POSTGRE
juanpablo@2744
    70
bbdd.driver=org.postgresql.Driver
juanpablo@2744
    71
bbdd.url=jdbc:postgresql://localhost:5432
juanpablo@2208
    72
bbdd.sid=openbravo
juanpablo@2209
    73
bbdd.systemUser=postgres
juanpablo@2208
    74
bbdd.systemPassword=syspass
juanpablo@2208
    75
bbdd.user=tad
juanpablo@2208
    76
bbdd.password=tad
juanpablo@2208
    77
bbdd.sessionConfig=select update_dateFormat('DD-MM-YYYY')
asier@41
    78
juanpablo@2744
    79
##################
juanpablo@2744
    80
# Tomcat manager #
juanpablo@2744
    81
##################
juanpablo@2744
    82
#
juanpablo@2744
    83
tomcat.manager.url=http://localhost:8080/manager
juanpablo@2744
    84
tomcat.manager.username=admin
juanpablo@2744
    85
tomcat.manager.password=admin
juanpablo@2744
    86
juanpablo@1890
    87
##########################
juanpablo@1890
    88
# Development parameters #
juanpablo@1890
    89
##########################
juanpablo@481
    90
juanpablo@578
    91
bbdd.outputscript=databasescript.sql
juanpablo@481
    92
bbdd.verbosity=INFO
gorkaion@1048
    93
juanpablo@1890
    94
# CSS Sprites Generator
david@1883
    95
generateSprites=no
david@1883
    96
stefan@2143
    97
# use js/css minimization (in local-context and war-file)
stefan@2143
    98
minimizeJSandCSS=yes
stefan@2143
    99
stefan@5218
   100
# How sqlc should execute the queries embedded in xsql file at compilation time
stefan@5218
   101
# traditional: only uses the base query ignoring all optional parameters
stefan@5218
   102
# optimized: includes most optional parameter to achieve better performance
stefan@5218
   103
# If optimized fails for some xsql files, downgrade level to traditional
stefan@5218
   104
sqlc.queryExecutionStrategy=optimized
stefan@5218
   105
juanpablo@1890
   106
##################
juanpablo@1890
   107
# Authentication #
juanpablo@1890
   108
##################
juanpablo@1890
   109
juanpablo@1890
   110
# Leave this empty to use the default login hardler.
juanpablo@1890
   111
# LAM server example: org.openbravo.authentication.lam.LamAuthenticationManager
gorkaion@1048
   112
authentication.class=
juanpablo@1890
   113
juanpablo@1890
   114
###########
juanpablo@1890
   115
# Add-ons #
juanpablo@1890
   116
###########
juanpablo@1890
   117
juanpablo@1890
   118
# External Pentaho Services
juanpablo@1890
   119
pentahoServer=
antonio@3077
   120
antonio@3077
   121
##############
antonio@3077
   122
# Validation #
antonio@3077
   123
##############
antonio@3077
   124
asier@3741
   125
validate.model=true
asier@3741
   126
isMinorVersion=false
antonio@5601
   127
antonio@5601
   128
##############
antonio@5601
   129
# Safe mode  #
antonio@5601
   130
##############
antonio@5601
   131
antonio@5606
   132
# This property is used to activate/deactivate the safe mode of Openbravo ERP
antonio@5606
   133
# When this property is activated, if the last build wasn't succesful, or Tomcat
antonio@5606
   134
# wasn't restarted, users will only be able to login in the application 
antonio@5606
   135
# with role System Administrator
antonio@5606
   136
antonio@5601
   137
safe.mode=false