...
- Stop XperienCentral (Tomcat server).
- If your XC content is valuable and you want to be able to revert the upgrade, make a backup copy of your database.
- Rename the root directory where XperienCentral is installed to something else.
Create a new directory with the name of the old XperienCentral installation directory.
- If your XperienCentral project is stored in a revision control system such as Subversion or GIT, execute the following steps:"
- Check out your project to the new directory created in the previous step;
- Update the parent version in your project's root
pom.xml
to the new XperienCentral version. - Copy the zip archive of the new version of XperienCentral to the new directory and extract the archive. Overwrite all files that you are prompted to.
Verify the changes to the overwritten files. Revert any changes that are irrelevant for your project.
- If settings.xml is not one of the files in your revision control system, makes sure all properties in the new
settings.xml
are the same as in the version ofsettings.xml
.
Note Do not copy and paste the old
settings.xml
over the new one — Newer versions of XperienCentral sometimes contain new properties that will be overwritten if you paste an oldersettings.xml
over a new one. If you are not using a revision control system, execute the following steps:
Copy the zip archive of the new version of XperienCentral to the new directory and extract the archive.
Set all properties in the newer
settings.xml
(project-based, database, etc.) to the same values as the older version ofsettings.xml
.
If you run XperienCentral in a standalone Tomcat environment, copy the
apache-tomcat
directory from the old installation to the new one.- In the new installation, delete the folder
apache-tomcat/work
.
- In the new installation, delete the folder
- When not copying the Tomcat directory from previous installation, duplicate the logging levels found in the files
/src/main/config/tomcat/conf/logging.properties
and/apache-tomcat/conf/logging.properties
with the corresponding files in the older version.
...