if (!validateProjectHome(projectHomeDir)) {
throw new CitrusAdminRuntimeException("Invalid project home - not a proper Citrus project");
}
System.setProperty(PropertyConstants.PROJECT_HOME, projectHomeDir);
project = new Project(projectHomeDir);
project.setup();
project.setTestCount(testCaseService.getTestCount(project));
}