Upgrade from 3.0.MAINTENANCE to 3.1.MAINTENANCE

Backup the platform and DB

Change project libs

  1. Copy all platform libraries and tools
/tools/ant-contrib-1.0b3.jar
/platform/**
  1. Removed libs
platform/lib/lucene-analyzers-3.3.0.jar
platform/lib/lucene-core-3.3.0.jar
  1. Added libs
platform/lib/js-engine.jar
platform/lib/js.jar

Upgrade specific code

Change build files

  1. Copy all build and property files:
/build-core.xml 
/*.properties
  1. Set the property files with server and DB configuration
build.property
project.property
db-<database>.property
server-<engine>.property

Install

  1. First install patches to alter DB and add new XML components
ant applysystempatches

Read server logs and re-apply system patches when error occurs. Do not redeploy your application (with the new runtime) until database patches are not well imported.

  1. Undeploy the application, stop the server and clear cache directories (simplicite and server)
    With tomcat server :
ant undeploy
sudo systemctl stop tomcat
rm -rf <tomcat_root>/data/simplicite/<project_name>/cache
rm -rf <tomcat_root>/work
rm -rf <tomcat_root>/temp
  1. Finally redeploy the application with the new runtime
    With tomcat server :
sudo systemctl start tomcat
ant deploy

Test

Note: