Volet |
---|
|
Esup-News Portlet - Migration GuideAutors : Julien Gribonvald |
Sommaire |
---|
minLevel | 1 |
---|
indent | 20px |
---|
style | disc |
---|
|
Important note
This page explain only specific parts useful for migrations from an old version !
Migration
From NewsPortlet 2.0.6 and upper to Esup-News 0.2.X
Updating the database
- select the script of you version for the update in build.properties with property db.filename
Bloc de code |
---|
# Make your choice on the good script to update your database, please uncomment/comment only
db.filename=update_mysql_newsPortlet-2.0.x_to_esup-news-0.2.0.sql
#db.filename=update_mysql_2.0.6_to_2.1.0.sql
#db.filename=update_mysql_2.1.0_to_2.2.0.sql
#db.filename=update_postgresql_newsPortlet-2.0.x_to_esup-news-0.2.0.sql
|
...
- run ant db-update after configuring databases configuration in build.properties
Replacing NewsPortlet by Esup-News in the portal
- In the channel manager of the portal go on "Modify a currently published channel" and modify the channel of your NewsPortlet. You will have only to modify the property Portlet definition ID to <app.name>.news, where <app.name> is setted in build.properties