Pages enfant
  • Migration guide

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: error in the SQL for the migration from 1.2.7 to 1.3.0 : it's ELEMENTID and not ELEMENTDID

...

  • Download esup-lecture-1.3.0.zip from the projectsite
  • Unzip the file in the parent directory of the 1.3.0 directory.
  • Recover the files from previous version :
    • ant recover-config
    • NOTE : esup-lecture.dtd has been modified since previous version and should not be recovered
  • Verify the configuration files
  • Stop the "esup-lecture" context on all application servers
  • SAVE the esup-lecture database
  • Run ant upgrade
  • If you want to keep old records of read items, initialize the new table of read items like this :
    • Open a database connexion with a SQL editor
    • Run the SQL command :
    • insert into LECT_READITEMFLAG (ELEMENTDIDELEMENTID, CUSTOMSOURCE_CUSTOMSOURCEPK, DATE) (select ITEMID, CUSTOMSOURCE_CUSTOMSOURCEPK, now() from LECT_READITEM)
    • (replace "now()" with the appropriate function or pseudocolumn according to your SGBD)
  • Then, delete the old table of read items :
    • Open a database connexion with a SQL editor
    • Run the SQL command :
    • drop table LECT_READITEM;
  • Deploy the application:
  • ant deploy
  • Start the "esup-lecture" context on all application servers

...