work on comparison functionality
This commit is contained in:
parent
1e7eb4aa1b
commit
56e4f5b756
|
@ -161,11 +161,13 @@ public class Validator {
|
||||||
System.out.println("Specified destination (-dest parameter) is not valid: \"" + dest + "\")");
|
System.out.println("Specified destination (-dest parameter) is not valid: \"" + dest + "\")");
|
||||||
else {
|
else {
|
||||||
// first, prepare the context
|
// first, prepare the context
|
||||||
String txLog = Params.getTerminologyServerLog(args);
|
cliContext = Params.loadCliContext(args);
|
||||||
String v = Common.getVersion(args);
|
if (cliContext.getSv() == null) {
|
||||||
|
cliContext.setSv(determineVersion(cliContext));
|
||||||
|
}
|
||||||
|
String v = VersionUtilities.getCurrentVersion(cliContext.getSv());
|
||||||
String definitions = VersionUtilities.packageForVersion(v) + "#" + v;
|
String definitions = VersionUtilities.packageForVersion(v) + "#" + v;
|
||||||
ValidationEngine validator = Common.getValidationEngine(v, definitions, txLog);
|
ValidationEngine validator = ValidationService.getValidator(cliContext, definitions);
|
||||||
Params.checkIGFileReferences(args);
|
|
||||||
ComparisonService.doLeftRightComparison(args, dest, validator);
|
ComparisonService.doLeftRightComparison(args, dest, validator);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue