progress.startLeafTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS);
MPSPlugin.getInstance().refreshFS();
progress.finishTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS);
checkMonitorCanceled(progress);
progress.startLeafTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION);
<BUG>MPSPlugin.getInstance().buildModule(outputFolder);
</BUG>
progress.finishTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION);
checkMonitorCanceled(progress);
progress.addText("reloading MPS classes...");

progress.startLeafTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS);
MPSPlugin.getInstance().refreshFS();
progress.finishTask(ModelsProgressUtil.TASK_NAME_REFRESH_FS);
checkMonitorCanceled(progress);
progress.startLeafTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION);
progress.addText(MPSPlugin.getInstance().buildModule(outputFolder));
progress.finishTask(ModelsProgressUtil.TASK_NAME_COMPILE_ON_GENERATION);
checkMonitorCanceled(progress);
}
progress.addText("reloading MPS classes...");
