Prev Next

Updating WebEA to a New Version

WebEA is typically updated with each new release of the Pro Cloud Server, and is designed to work with that version of the Pro Cloud Server specifically. If you update your Pro Cloud Server to a new release you will also need to update the WebEA files on your web server as described below.

Note, if you have updated the Pro Cloud Server but have not updated WebEA then you will receive a warning after the WebEA login ('Warning - WebEA / OSLC Version mismatch').

Option 1 - Updating WebEA manually

Step

Details

See also

1

If you have not already, install the desired version of the Pro Cloud Server (typically the latest release).

Pro Cloud Server Installation

2

On your web server (often the same machine as the Pro Cloud Server), make a backup of the folder for your existing WebEA site. If you use 'WebConfig' then backup its folder also. E.g.

C:\xampp\htdocs\webea

C:\xampp\htdocs\webconfig

3

Browse to the location where you installed the Pro Cloud Server and open the WebEA subfolder. For example:

C:\Program Files (x86)\Sparx Systems\Pro Cloud Server\WebEA

Copy the content of the WebEA folder, EXCEPT for the .\WebEA\includes\webea_config.ini file. You might prefer to rename the webea_config.ini file before copying the files (for example,. webea_config_defaults.ini), in which case it can be copied.

4

Paste the WebEA files into the folder for your WebEA site (e.g. C:\xampp\htdocs\webea), overwriting the existing files.

5

If you make use of WebConfig (otherwise skip to step 7), browse to the location where you installed the Pro Cloud Server and open the WebConfig subfolder. For example:

C:\Program Files (x86)\Sparx Systems\Pro Cloud Server\WebConfig

Copy the content of the WebConfig folder, EXCEPT for the .\WebConfig\settings.php file. You might prefer to rename the settings.php file before copying the files (for example, settings_default.php), in which case it can be copied.

6

Paste the WebConfig files into the folder for your WebConfig site (e.g. C:\xampp\htdocs\webconfig), overwriting the existing files.

7

Your WebEA (and optionally WebConfig) site has now been updated to match the Pro Cloud Server version.

Option 2 - Update WebEA via command line

As an alternative to manually copying the WebEA/WebConfig files, this could be done via the command line. For example, consider the situation in which WebEA was installed to the default location and your website is being served by Apache in C:\Xampp\htdocs\webea. This command will perform the required copy and not override your existing configuration file in the live site:

robocopy "C:\Program Files (x86)\Sparx Systems\Pro Cloud Server\WebEA" "C:\xampp\htdocs\webea" /MIR /e /DCOPY:T /njh /ndl /nfl /xf webea_config*.ini

Similarly, the WebConfig files could be copied via this command:

robocopy "C:\Program Files (x86)\Sparx Systems\Pro Cloud Server\WebConfig" "C:\xampp\htdocs\webconfig" /MIR /e /DCOPY:T /njh /ndl /nfl /xf settings.php