Installer and upgrader UI (2012)

Last modified by Vincent Massol on 2024/02/26 17:54

 XWiki
 Requirements
 Dormant
 
 

Description

Goal

Make as easy as possible to do necessary tasks at startup and upgrade.

The idea is to display a special install/upgrade UI when the wiki is brand new or when the backend has been upgraded to do stuff like download and install/upgrade the corresponding product xar, etc.

Informations needed in the war

  • generic informations
    • version of the product
    • top id of the product (to display general informations about the product)
    • war id of the product (generate a default id like <product-id>-web when none is provided)
    • ui id of the product (generate a default id like <product-id>-ui when none is provided)
  • custom product informations. For example in XE and XEM:
    • commons.version
    • platform.version
    • rendering.version
    • enterprise.version
    • manager.version

Where and how to get theses informations

A product.properties file which will replace the current version.properties made useless.

Introduce a ProductManager or a DistributionManager component and corresponding script service.

How to know that the version of the product war is not in sync with it's corresponding installed xar

Introduce a distribution or product table in the database to store the content of product.properties file to compare it with what's in the war and find that itcr has been changed.


 

Tags:
    

Get Connected