if (cs!=null) {
ValidationResult result = cs.validateBuildType(bt);
if (!result.isOk()) {
return result.withMessage("CodeSet '"+csname+"': "+result.msg);
}
ImportStrategy importStrategy = bt.getImportStrategy();
if (!importStrategy.isSupported()) {
//This means some required STS component like m2e or gradle tooling is not installed
return ValidationResult.error(bt.getNotInstalledMessage());
}
}
}