Module Property Diff Viewer

The following are the different modes of operation by which diff viewer is viewed for module properties.

Compare with Local History

Prerequisites

  • Import an already existing sample or create a new project.
  • For the selected module property, one of the should be modified and saved at least once before comparing the two revisions. This ensures that there is a local history available in the workspace.

Procedure

  1. In Project Explorer view, on the selected module property right-click and select Compare With > Local History or Team > Show Local History
    The History tab is displayed.
  2. On the History tab, select the two different revisions to compare. Right-click and select Compare with Each Other option.

    A BW Compare view is displayed, that displays the visual diff between the two different revisions of the selected module property.

    In the above example, since there is a change in the properties of the Name, Type and Value fields, they are marked in blue and highlighted in yellow.

    For Type field, since there is a change in the data type from Boolean to String, TIBCO Business Studio™ for BusinessWorks™ automatically changes the value of the data type in Value field as well, although there was no change explicitly made to the Value field.

Compare with Each Other

Prerequisites

Import an existing sample or create a new project.

Procedure

  • In Project Explorer view, select the two different module properties of two different projects. Right-click and select Compare With > Each Other.

    A BW Compare view is displayed, that displays the visual diff between the two different module properties of two different projects.

Compare with another revision from a SVN Repository

Prerequisites

  • Import a project from SVN repository.
  • Ensure the project is imported from SVN repository and a previous version of the project is saved and available to compare the two revisions.

Procedure

  1. In Project Explorer view, right-click on the selected module property imported from the SVN repository and select Team > Show History or Compare with > Local History

    The History tab is displayed.

  2. On the History tab, select the two different revisions to compare. Right-click and select Compare with Each Other option.

    A BW Compare view is displayed, that displays the visual diff between the two different revisions of the selected module property imported from SVN repository.

    In the above example, since there is a change in the properties of the Value field, it is marked in blue and highlighted in yellow.

Compare with another revision from a Git Repository

Prerequisites
  • Import a project from Git repository.
  • Ensure the project imported from Git repository has a previous version and the project is saved and available to compare the two revisions.
Procedure
  1. In Project Explorer view, right-click on the selected module property imported from the Git repository and select Team > Show History

    The History tab is displayed.

  2. On the History tab, select the two different revisions to compare. Right-click and select Compare with Each Other option.

    A BW Compare view is displayed, that displays the visual diff between the two different revisions of the selected module property imported from Git repository

    In the above example, since there is a change in the properties of the Value field, it is marked in blue and highlighted in yellow.

Example
Important:
  • If the order in which the modules properties displayed is changed, after any add or delete operation performed on them, the diff viewer feature does not compare the correct module properties with each other.
  • Since the module properties are mapped directly with application properties, for any number of changes that are made in the module properties, the same changes will be reflected in the application properties as well.
  • For module properties of shared resources type, the data type is always denoted as a String value.