online source control
back to content
sign up free version control plan

External Programs Tab

See Also

Options for external programs.

Tab Items

Application for viewing and editing files

Dynamsoft SourceAnywhere Hosted can be configured with the viewing/editing application of the user's choice. The View and Edit commands will automatically open files using the utility configured here. If this box is left blank, Dynamsoft SourceAnywhere Hosted will open files with their associated system application.

Arguments for viewing and editing

This option allows you to specify the arguments to supply to the viewing/editing application when the application is invoked. The following macro is available (the macros are case-sensitive):

Note: "%FILE%" is requested to represent the path of the file according to the requirement of some applications. The arguments for the external application should conform to its given syntactic regulation.

Application for diff/merge

This option is used to specify an external application for visual diff/merge on files or directories. Dynamsoft SourceAnywhere Hosted Diff/Merge tool MergeHero is configured by default. 

Note: If MergeHero is configured, the following arguments items will be invalid.

Arguments for diff files

This option allows you to specify the arguments to supply to the diff tool for files diff when the diff tool is invoked. The following macros are available (the macros are case-sensitive):

java -jar %DIFFMERGE_TOOL% %FIRST_FILE% %SECOND_FILE% -LeftLabel %FIRST_LABEL% -RightLabel %SECONDE_LABEL%

Arguments for diff directories

This option allows you to specify the arguments to supply to the diff tool for directories diff when the diff tool is invoked. The following macros are available (the macros are case-sensitive):

java -jar %DIFFMERGE_TOOL% %FIRST_DIR% %SECOND_DIR% -LeftLabel %FIRST_LABEL% -RightLabel %SECONDE_LABEL%

Arguments for three-way merge:

This option allows you to specify the arguments to supply to the merge tool for three-way merge when the merge tool is invoked. The following macros are available (the macros are case-sensitive):

For example, to invoke MergeHero.jar to merge three files,  the entry for this field is as follows:

java -jar %DIFFMERGE_TOOL% -merge %BASE_FILE% %THEIRS_FILE% %YOURS_FILE% %RESULT_FILE% -LeftLabel %FIRST_LABEL% -RightLabel %SECOND_LABEL%

Note: You can adjust the order of "%THEIRS_FILE%"and "%YOURS_FILE%".