PDA

View Full Version : rules-based not ignoring unimportant differences


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"

Chris
22-Feb-2011, 04:25 PM
Make sure "View > Ignore Unimportant Differences" is turned on in the saved session you're loading. It isn't possible to control this setting from a script, the only way to control it is by loading a saved session with the setting turned on.

Controlling this setting from scripts is on our wish list for a future version of Beyond Compare.

jasohal
23-Feb-2011, 03:26 AM
thanks - tyried that and it worked a treat !! :)