Author: xcoulon
Date: 2012-02-17 10:03:27 -0500 (Fri, 17 Feb 2012)
New Revision: 38879
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
Log:
Fixed - RefreshTutorialsJob refreshTutorialsJob = RefreshTutorialsJob.INSTANCE;
https://issues.jboss.org/browse/JBIDE-10488
Setting a timeout to 5 min for import at the end of wizard
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-17
15:02:46 UTC (rev 38878)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/OpenShiftExpressApplicationWizard.java 2012-02-17
15:03:27 UTC (rev 38879)
@@ -172,7 +172,7 @@
try {
final DelegatingProgressMonitor delegatingMonitor = new DelegatingProgressMonitor();
IStatus jobResult = WizardUtils.runInWizard(new ImportJob(delegatingMonitor),
delegatingMonitor,
- getContainer());
+ getContainer(), 300);
return JobUtils.isOk(jobResult);
} catch (Exception e) {
ErrorDialog.openError(getShell(), "Error", "Could not create local git
repository.", OpenShiftUIActivator
@@ -198,7 +198,7 @@
}
}
- }, getContainer());
+ }, null, getContainer(), 300);
return status.isOK();
} catch (Exception e) {
return false;