Project

General

Profile

Actions

Feature #2839

closed

Simpler configuration for Silverpeas

Added by Emmanuel Hugonnet almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Start date:
01/19/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Livraison en TEST:
Livraison en PROD:

Description

Instead of editing directly the config.xml to configure your instance of Silverpeas which can be annoying between each upgrade since we may add some new parameters I propose to use a properties file so only what you need to overload is in YOUR file, hus enabling a transparent process to update your silverpeas.


Related issues

Blocked by Silverpeas Setup - Feature #2840: Enable the use of properties to define variables valueClosedEmmanuel Hugonnet01/19/2012

Actions
Actions #1

Updated by Emmanuel Hugonnet almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Now we provide a default configuration which can be overridden by creating a file config.properties into $SILVERPEAS_HOME/setup/settings.
You only have to define the keys you want to override our own, thus you won't have any manipulation with the configuration if we need to add new keys to the configuration file. You 'll immediately benefit from our default values.
We provide a file sample_config.properties with all our default values commented, so you have a list of what you may need to redefine.
We provide also backward compatibility using a config.xml as if it were a config.properties to help you with the migration.

Actions

Also available in: Atom PDF