Esup Lecture Portlet - Migration Guide
Auteur : Bourges Raymond - Bouteille Gwénaëlle - Vincent Repain (University of Rennes 1)
From 1.2.4 to 1.2.5
- Download esup-lecture-1.2.5.zip from the projectsite
- Unzip the file in the parent directory of the 1.2.4 directory
- Adapt build.properties in the 1.2.4 directory to recover some configuration files from that version : edit the custom.recover.files, for example :
custom.recover.files= \ properties/logging/log4j.properties
Do not list propertie/dao/dao.xml in the files to recover, as this file has been modified in version 1.2.5
- Recover the files from version 1.2.4 :
- ant recover-config
- Specify hibernate.connection parameters in config.properties (new in 1.2.5, see config-example.properties)
-
- ant init-data
This Command will erase all existing data in your database !!!!
Your database (configured in config.properties) must exists.
- ant init-data
- Deploy the application:
- ant deploy