Comparing resource files
File Compare on the Resolve Conflict dialog box launches a third-party binary to manually compare resource files.
-
On the Client Preferences > External Command tab, click the External File Compare Command folder button to open a file
browser to locate the binary.
After locating a file compare binary, click Open. This closes the browser and fills External File Compare Command with the selected file path and the two placeholders.You can also manually specify the full path and arguments for the binary in the field. For example:
C:\diff.exe @F1@F2 /i /p
When the command line is run, the@F1
placeholder is substituted with the BOX resource file path. The@F2
placeholder is substituted with the resource file path of the current site. -
In the Merge BOX Resources into
Current Site page of the wizard, click the conflict indicator to
open the Resolve Conflict dialog box.
Choices for resolving this conflict are to rename, overwrite, ignore or merge.
-
File Compare in the
Resolve Conflict dialog box is enabled
for these type of resources when External File Compare Command is configured. Resources
include:
- EO Alias
- FRL
- HRL
- Lookup Tables
- NetConfig
- Tcl
- VRL
- Xlate
Resources with these types all have one separate configuration file that can be written to a temp file and compared. For processes or threads in NetConfig, the thread or process definition segment is saved into a temp file and compared. -
Clicking File
Compare:
- Downloads the target resource files to a temp folder on the local machine.
- Replaces the two tokens of the External File Compare Command with the temporary resource file path.
- Invokes the command to launch the File Compare tool.
The temporary files are removed when closing the Deploy BOX wizard.