WEBDEV Concepts

168 Part 5: Databases 5 Generating the analysis (LDM) The analysis is generated before the programming cycle and after describing the data files. This generation is used to: • validate the changes made on the analysis (LDM). • create the modules required for programming. • automatically update the data files if necessary. As long as the analysis (the LDM) is not generated, the analysis description (the data files) cannot be used in the project. To generate the analysis, go to the "Analysis" tab, "Analysis" group and click "Generation". The generation includes three steps: • Verification of the changes made and generation of the physical files corresponding to the analysis description. • Automatic modification of accessible data files (files in the "EXE" directory of the project). • Project synchronization. 6 Managing the analysis versions To manage the different versions of the analysis: 1. On the "Analysis" tab, in the "Analysis" group, click "Generation". 2. Select "Manage versions". 3.  In the wizard, specify whether you want to work on the current analysis or on a specific analysis. Remark : when an analysis is damaged, you can select the damaged analysis to restore one of the earlier versions, for example. All the versions of the analysis are displayed as a graph. The yellow box indicates the version number of the analysis and the text on the right shows the generation date. The "small rectangles" displayed between two versions indicate: • one rectangle: few changes were made between the two versions. • several rectangles: several changes were made between the two versions. To see the details of the changes made between two versions : Double-click the row containing the "small rectangles" or click [Changes]. The options available in the version manager are as follows: • Restoring an analysis. • Undoing the last generation. • Resetting the version number to 1. 6.1 Restoring an analysis To restore an analysis from the version manager: 1. Select the version to restore. 2. You can: • restore the version in the specified directory. An independent analysis corresponding to the selected version is created. This option is selected by default. • overwrite the current analysis. 3. Validate. The restore operation is performed. Caution : The data files of an analysis whose version number is more recent than the restored version cannot be reopened. In this case, you must also restore the data files of the restored analysis version or delete the existing data files and create them again.

RkJQdWJsaXNoZXIy NDQ0OA==