To determine the impact of a build and view the model elements that are modified since the last build, the Build Preview option can be used. Perform the following for a Build Preview:
Select the deployable folder.
Ensure that the outer folder containing the segment is also deployable.
From the Build menu, choose Preview or choose Folder Only, Preview.
The Build Preview window appears. This window displays details as follows –
Project – Name of the system modeler project
Configuration – Type of configuration that you have specified for the desired runtime platform
Build Node – Name of the folder that is used for the preview.
Build Impact – Percentage of changed/updated element(s) that is built
Build Type – Displays the type of the build. If build type is Full, all the elements within the deployable folder(s) are built. If the build type is Partial, only a part of the application is built. If the build type is Deployment, none of the elements are built. Only those Builders that are required for deployment run.
Database – Displays the impact on a database. You need to create a new database if it does not exist. A database is reorganized if the following changes are made to the schema:
A new persistent attribute is added to the model
Existing persistent attributes are changed
The database files on the Host are deleted
All the system files are deleted from the Host
Logics – Number of logic elements that have errors or need to be validated.
A summary of the number of Ispecs/Events/Reports/Classes/SQL Scripts that need to be built and the details of the elements that have changed since the last build are displayed.
The Details pane of the Build Preview window:
Displays the list of elements to be built for a particular deployable folder.
Displays the list of elements that have errors or require validation if any.
Displays a Database node with a link to the Database Comparison Report that contains details of the changes made to the database.
The build preview report is saved in the project folder as a BuildPreviewSummary <Folder name> <DD-MM-YYYY> <H-M>.xps file. For example, BuildPreviewSummary SampleDeploy 10-4-2012 6-34.xps. The file name is unique and you can print this report via File > Print.
Notes:
XPS is Microsoft’s new electronic paper format, an alternative to the PDF format. The XPS Viewer comes preinstalled with Windows 10. You can download the XPS Viewer from the Microsoft website.
The debug and information messages of a build preview output are not recorded in the build log file unless you set logging at the DEBUG Level. To set the Build Log at Debug level, select Tools > Options > System Modeler > Builder > Logging > Log Build Debugging Information.
If you have made significant changes in your model elements since the last build, executing this option might take time to gather and display all the necessary details.
The Build Preview option is not available for a Debugger configuration.
The Build Preview option is only available for deployment folders. It is not available for individual elements such as Ispecs or Reports.