Skip to content

AfterCompare (server-side)

Script applications that are called by this interface are used to undo the changes to a new version that were made before the comparison that follows an upload.

Procedure

  1. The upload is carried out.
  2. The comparison begins.
  3. Files and projects are transferred and operations are carried out.
  4. The comparison is performed.
  5. The AfterCompare interface is called and the associated script application is started.
  6. The comparison is ended.
  7. Temporary files are deleted.
  8. The comparison is completed.

Example: Deleting the temporary directory into which the data was unpacked before the comparison after the comparison has been completed.

AfterCompare is independent of BeforeCompare and is also triggered if an error has occurred during BeforeCompare.

Command lines for this script application

Without agents:

ScriptAfterCompare.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the server archive] /at:s

When using agents:

ScriptAfterCompareS.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the agent archive] /at:s

Description of the interface file

The [Common], [Component] and [Result] sections are described in General sections of the interface file.

The [User] and [Version] sections are not included.

Section Specific

In the [Specific] section, the following keys can be configurated:

Key I/O Description Values Default
Type I Shows which data is being compared. 1: Backup with backup
2: Version with backup
4: Version with version
WorkingDirM I Full path of the master's working directory
WorkingDirM_BC I Full path of the master's archive directory in which the BeforeCompareS.exe script application saves the project data.
If this key is empty, the BeforeCompareS.exe script application was not executed or did not return any results.
WorkingDirS I Full path of the slave's working directory
WorkingDirS_BC I Full path of the slave's archive directory in which the BeforeCompare.exe script application saves the project data.
If this key is empty, the script application BeforeCompare.exe was not executed or did not return any results.
BackgroundChangeCheck I Indicates whether the check is part of a background check. The background check only checks for differences and not for consistency or versioning. Y/N N