Projet

Général

Profil

Actions

Feature #2839

fermé

Simpler configuration for Silverpeas

Ajouté par Emmanuel Hugonnet il y a environ 12 ans. Mis à jour il y a environ 12 ans.

Statut:
Closed
Priorité:
Normal
Assigné à:
Début:
19/01/2012
Echéance:
% réalisé:

100%

Temps estimé:
Temps passé:
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.


Demandes liées 1 (0 ouverte1 fermée)

Bloqué par Silverpeas Setup - Feature #2840: Enable the use of properties to define variables valueClosedEmmanuel Hugonnet19/01/2012

Actions

Mis à jour par Emmanuel Hugonnet il y a environ 12 ans

  • Statut changé de New à Closed
  • % réalisé changé de 0 à 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

Formats disponibles : Atom PDF