logic: improved Maven timeout policy (issue #449)

* only timeout if Maven did not generate output during the last 60 seconds
This commit is contained in:
mlangkabel
2017-08-29 14:15:11 +02:00
parent d8413b1cb4
commit 64efa00054
4 changed files with 81 additions and 16 deletions
+9 -6
View File
@@ -162,16 +162,19 @@ bool SourceGroupJava::prepareMavenData()
"Please make sure to provide the correct Maven Path in the preferences.";
MessageStatus(dialogMessage, true, false).dispatch();
Application::getInstance()->handleDialog(dialogMessage);
return false;
}
dialogView->showUnknownProgressDialog("Preparing Project", "Maven\nExporting Dependencies");
if (success)
{
dialogView->showUnknownProgressDialog("Preparing Project", "Maven\nExporting Dependencies");
utility::mavenCopyDependencies(
mavenPath, projectRootPath, m_settings->getMavenDependenciesDirectoryExpandedAndAbsolute()
);
success = utility::mavenCopyDependencies(
mavenPath, projectRootPath, m_settings->getMavenDependenciesDirectoryExpandedAndAbsolute()
);
}
return success;
}
return true;