jasohal
22-Feb-2011, 03:53 PM
HI - I have setup a session in BC and switched on ignore unimportant differences.
If I run a manual compare in the GUI and selct rules-based, it correctly ignores the unimportant differences based on my rules.
If I run via script the compare-reoprt does NOT ignore unimportant differences.
The following is my template file which is called when BC is executed.
Why is it not ignoring unimportant differences when running via script ?
########### Beyond Compare ###############
#log to a file of the form log 2004-10-13.txt
#the exact format depends on your regional and language settings
log normal append:"G:\Release Management\Audit\Configuration Management\SOX\Compares\Compare Logs\autoCompare\%year%\%monthname%\RAD-dotNET Compare log %date%.txt"
#compare the text contents of the files
criteria rules-based
#only compare delphi source files, ignore the archive folder
#filter "*.log;"
load "RAD - dotNET"
expand all
folder-report layout:summary &
title:"SOX RAD-dotNET compare" &
options:display-mismatches,column-size output-to:"G:\Release Management\Audit\Configuration Management\SOX\Compares\Compare Logs\RAD\%year%\%monthname%\RAD-dotNET.txt"
If I run a manual compare in the GUI and selct rules-based, it correctly ignores the unimportant differences based on my rules.
If I run via script the compare-reoprt does NOT ignore unimportant differences.
The following is my template file which is called when BC is executed.
Why is it not ignoring unimportant differences when running via script ?
########### Beyond Compare ###############
#log to a file of the form log 2004-10-13.txt
#the exact format depends on your regional and language settings
log normal append:"G:\Release Management\Audit\Configuration Management\SOX\Compares\Compare Logs\autoCompare\%year%\%monthname%\RAD-dotNET Compare log %date%.txt"
#compare the text contents of the files
criteria rules-based
#only compare delphi source files, ignore the archive folder
#filter "*.log;"
load "RAD - dotNET"
expand all
folder-report layout:summary &
title:"SOX RAD-dotNET compare" &
options:display-mismatches,column-size output-to:"G:\Release Management\Audit\Configuration Management\SOX\Compares\Compare Logs\RAD\%year%\%monthname%\RAD-dotNET.txt"