SPADS update procedure for new Spring version: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
fix category
Bibim (talk | contribs)
procedure change for SPADS 0.12
Line 1: Line 1:
This document describes how to update SPADS to use a new Spring version.
This document describes how to (re)configure SPADS regarding Spring version.


You need to replace <spadsRelease> by your actual SPADS release (stable, testing, unstable or contrib), and <springMajorVersion> by your actual Spring major version number (for example "95") in the commands listed below.


= Linux =
= Enabling/disabling Spring version auto-management in SPADS =
=== Enabling Spring version auto-management ===
*set the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:autoManagedSpringVersion autoManagedSpringVersion] value in spads.conf to the desired Spring version or release (examples: "103.0", "103.0.1-1359-gdc09042", "testing")
*empty the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:unitsyncDir unitsyncDir] and [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springServer springServer] values in spads.conf
*set the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springServerType springServerType] value to "dedicated" or "headless" in spads.conf (according to the type of Spring server you want to use)
*remove any directory containing Spring base content from the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springDataDir springDataDir] values in spads.conf
*restart SPADS
=== Disabling Spring version auto-management ===
*empty the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:autoManagedSpringVersion autoManagedSpringVersion] value in spads.conf
*set the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:unitsyncDir unitsyncDir] and [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springServer springServer] values in spads.conf to the corresponding paths for the desired Spring version
*empty the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springServerType springServerType] value in spads.conf
*add the Spring data directory containing the base content of the desired Spring version to the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springDataDir springDataDir] values in spads.conf
*restart SPADS


*update the "springServer" and "springDataDir" paths in spads.conf for new Spring version if needed
*update your SPADS installer script so that it contains the latest changes which could be required to recompile the unitsync interface from latest Spring sources:
    ./update.pl <spadsRelease> -a
*launch the PerlUnitSync module generation:
    ./spadsInstaller.pl -g


= Windows =
= Changing Spring version in SPADS =
 
=== Changing Spring version when auto-management is enabled ===
== if auto-updates are enabled (default) ==
*update the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:autoManagedSpringVersion autoManagedSpringVersion] value in spads.conf to the new desired Spring version or release (examples: "103.0", "103.0.1-1359-gdc09042", "testing")
*update the "springDataDir" path in spads.conf for new Spring version if needed
*restart SPADS
*restart SPADS
 
=== Changing Spring version when auto-management is disabled ===
== if auto-updates are disabled ==
*update the [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:unitsyncDir unitsyncDir], [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springServer springServer] and [http://planetspads.free.fr/spads/doc/spadsDoc_GlobalSettings.html#global:springDataDir springDataDir] values in spads.conf to the corresponding paths for the new Spring version if needed
*update the "springDataDir" path in spads.conf for new Spring version if needed
*launch the Spring server binaries update manually:
    perl update.pl <spadsRelease> <springMajorVersion> -s
*restart SPADS
*restart SPADS


__NOTOC__
__NOTOC__
[[Category:SPADS]]
[[Category:SPADS]]

Revision as of 13:55, 5 September 2017

This document describes how to (re)configure SPADS regarding Spring version.


Enabling/disabling Spring version auto-management in SPADS

Enabling Spring version auto-management

  • set the autoManagedSpringVersion value in spads.conf to the desired Spring version or release (examples: "103.0", "103.0.1-1359-gdc09042", "testing")
  • empty the unitsyncDir and springServer values in spads.conf
  • set the springServerType value to "dedicated" or "headless" in spads.conf (according to the type of Spring server you want to use)
  • remove any directory containing Spring base content from the springDataDir values in spads.conf
  • restart SPADS

Disabling Spring version auto-management


Changing Spring version in SPADS

Changing Spring version when auto-management is enabled

  • update the autoManagedSpringVersion value in spads.conf to the new desired Spring version or release (examples: "103.0", "103.0.1-1359-gdc09042", "testing")
  • restart SPADS

Changing Spring version when auto-management is disabled