Volet | ||
---|---|---|
| ||
Esup Lecture Portlet -InstallationMigration Guide
|
...
From 1.2.4 to 1.2.5
- Download esup-lecture-<version>1.2.5.zip from the projectsite
- Unzip the file somewhere on a working directory
Remarque To configure this application you have to adapt some configuration files. Every time you will find a <fileName>-example.<extension> example file that you can copy to <fileName>.<extension> before adapting.
- Adapt build.properties
- Adapt properties/config.properties for exception handling configuration, SMTP configuration and database confuguration.
Remarque By default, exception reports are also sent to an archived bugs mailing list, accessible to the developers of the project only. This feature is used to be warned of all the possible exceptions occuring on the applciation anywhere; this way, most bugs can be corrected as soon as they happen. If you do not want the exceptions to be sent to this list, you can manually set property doNotSendExceptionReportsToDevelopers to true.
- Test your configuration:
- ant test-config
- ant test-smtp
- ant test-database
- 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 :
Bloc de code custom.recover.files= \ properties/logging/log4j.properties
Remarque 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)Initialize your database if necessary (first installation):
- ant init-data
Remarque This Command will erase all existing data in your database !!!!
Your database (configured in config.properties) must exists.
- ant init-data
...