diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-09-16 14:25:14 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-09-16 14:25:34 +0200 |
commit | 0cf3ab112852716e81b558c41e3f406576fef006 (patch) | |
tree | 16d8e981f3f1f46cce0d0a93eb3b40331382cefc /sonar-application | |
parent | a1e2e6df646ae6b9bbad3bdb2559a061fd15c6bc (diff) | |
download | sonarqube-0cf3ab112852716e81b558c41e3f406576fef006.tar.gz sonarqube-0cf3ab112852716e81b558c41e3f406576fef006.zip |
SONAR-4616 Replace "property: value" syntax by "property=value" in configuration files
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/assembly/conf/sonar.properties | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 0e7f3a8157b..28ce4528bbb 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -3,8 +3,8 @@ # see http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html#load(java.io.InputStream) # # To use an environment variable, use the following syntax : ${env:NAME_OF_ENV_VARIABLE} -# For example : -# sonar.jdbc.url: ${env:SONAR_JDBC_URL} +# For example: +# sonar.jdbc.url= ${env:SONAR_JDBC_URL} # # # See also the file conf/wrapper.conf for JVM advanced settings @@ -16,19 +16,19 @@ # These settings are ignored when the war file is deployed to a JEE server. #--------------------------------------------------------- # Listen host/port and context path (for example / or /sonar). Default values are 0.0.0.0:9000/. -#sonar.web.host: 0.0.0.0 -#sonar.web.port: 9000 -#sonar.web.context: / +#sonar.web.host=0.0.0.0 +#sonar.web.port=9000 +#sonar.web.context=/ # Log HTTP requests. Deactivated by default. -#sonar.web.jettyRequestLogs: ../../logs/jetty-yyyy_mm_dd.request.log -#sonar.web.jetty.threads.min: 5 -#sonar.web.jetty.threads.max: 50 +#sonar.web.jettyRequestLogs= ../../logs/jetty-yyyy_mm_dd.request.log +#sonar.web.jetty.threads.min=5 +#sonar.web.jetty.threads.max=50 #----------------------------------------------------------------------- # DATABASE # -# IMPORTANT : the embedded database H2 is used by default. +# IMPORTANT: the embedded database H2 is used by default. # It is recommended for tests only. Please use an external database # for production environment (MySQL, Oracle, Postgresql, SQLServer) # @@ -37,67 +37,67 @@ #----- Credentials # Permissions to create tables and indexes must be granted to JDBC user. # The schema must be created first. -sonar.jdbc.username: sonar -sonar.jdbc.password: sonar +sonar.jdbc.username=sonar +sonar.jdbc.password=sonar #----- Embedded database H2 -# Note : it does not accept connections from remote hosts, so the +# Note: it does not accept connections from remote hosts, so the # SonarQube server and the maven plugin must be executed on the same host. # Comment the following line to deactivate the default embedded database. -sonar.jdbc.url: jdbc:h2:tcp://localhost:9092/sonar +sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar # directory containing H2 database files. By default it's the /data directory in the SonarQube installation. -#sonar.embeddedDatabase.dataDir: +#sonar.embeddedDatabase.dataDir= # H2 embedded database server listening port, defaults to 9092 -#sonar.embeddedDatabase.port: 9092 +#sonar.embeddedDatabase.port=9092 #----- MySQL 5.x # Comment the embedded database and uncomment the following line to use MySQL -#sonar.jdbc.url: jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true +#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true #----- Oracle 10g/11g -# To connect to Oracle database : +# To connect to Oracle database: # # - It's recommended to use the latest version of the JDBC driver (ojdbc6.jar). # Download it in http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html # - Copy the driver to the directory extensions/jdbc-driver/oracle/ -# - Comment the embedded database and uncomment the following line : -#sonar.jdbc.url: jdbc:oracle:thin:@localhost/XE +# - Comment the embedded database and uncomment the following line: +#sonar.jdbc.url=jdbc:oracle:thin:@localhost/XE # Uncomment the following property if the Oracle account has permissions to access multiple schemas, # for example sonar schemas with different versions. In that case, use the same property during project analysis # (-Dsonar.jdbc.schema=<schema>) # The schema is case-sensitive. -#sonar.jdbc.schema: sonar +#sonar.jdbc.schema=sonar #----- PostgreSQL 8.x/9.x # Comment the embedded database and uncomment the following property to use PostgreSQL -#sonar.jdbc.url: jdbc:postgresql://localhost/sonar +#sonar.jdbc.url=jdbc:postgresql://localhost/sonar # Uncomment the following property if the PostgreSQL account has permissions to access multiple schemas, # for example sonar schemas with different versions. In that case, use the same property during project analysis # (-Dsonar.jdbc.schema=<schema>) -#sonar.jdbc.schema: public +#sonar.jdbc.schema=public #----- Microsoft SQLServer # The Jtds open source driver is available in extensions/jdbc-driver/mssql. More details on http://jtds.sourceforge.net -#sonar.jdbc.url: jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor +#sonar.jdbc.url=jdbc:jtds:sqlserver://localhost/sonar;SelectMethod=Cursor #----- Connection pool settings -sonar.jdbc.maxActive: 20 -sonar.jdbc.maxIdle: 5 -sonar.jdbc.minIdle: 2 -sonar.jdbc.maxWait: 5000 -sonar.jdbc.minEvictableIdleTimeMillis: 600000 -sonar.jdbc.timeBetweenEvictionRunsMillis: 30000 +sonar.jdbc.maxActive=20 +sonar.jdbc.maxIdle=5 +sonar.jdbc.minIdle=2 +sonar.jdbc.maxWait=5000 +sonar.jdbc.minEvictableIdleTimeMillis=600000 +sonar.jdbc.timeBetweenEvictionRunsMillis=30000 #--------------------------------------------------------- |