}
else if (UpgradeType.UPGRADE_NEEDED == md.getUpgradeType()) {
if (processUpgrades(md)) {
// perform upgrade
logObj.info("Will upgrade project " + url.getPath());
Resource upgraded = handler.performUpgrade();
if (upgraded != null) {
Project project = openProjectResourse(upgraded, controller);
getProjectController().getProjectWatcher().pauseWatching();
getProjectController().getProjectWatcher().reconfigure();