How do I use the ravCheckAndReport command to evaluate multiple generic rule decks using a single control file? I was able to do this using earlier versions of Ravel prior to 2.18. However, with the check that was added to Ravel version 2.18 that raises an error when a control file lists rules that do not exist in the rule deck, this method no longer works? Is this even possible anymore?
ravCheckAndReport(list("path_to_die.ravge" "pad_size.ravge" "sm_opening.ravge") ?tag nil ?control "my_control_file.ravgc")
now throws an error:
E- *Error* Checks in control file not matched by rules in deck: ((check ("Path to Die" "Path to Die Edge Distance")) (check ("Pad Size" "Pad Width")) (check ("Pad Size" "Pad Length")) (check ("SM Opening" "SM Opening")))
this check was made more restrictive to prevent the situation where a misspelled rule name in a control file would cause the rule to be silently omitted. The danger was that the user might believe that rules were being checked that in reality were not. The use case that you mention is also a reasonable one, and we will have to look at how to accommodate both. At the moment there is no workaround, because the report generation will run each generic rule deck in turn with the control file, and will encounter the mismatch in rule names.