ProjectFinder.refreshProcessFolder(definitionFile);
} catch (CoreException e1) {
}
ProcessDefinition definition = ProcessCache.getProcessDefinition(definitionFile);
try {
int validationResult = definition.validateDefinition(definitionFile);
if (validationResult != 0) {
DesignerPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(ErrorLogView.ID);
if (validationResult == 2) {
setErrorMessage(Messages.getString("ExportParWizardPage.page.errorsExist"));
return false;