Skip to content

Commit

Permalink
Fixes issue #194 - 'Waiting for new REPL process ack' stays in the st…
Browse files Browse the repository at this point in the history
…atus bar
  • Loading branch information
laurentpetit committed Dec 10, 2010
1 parent 46c4c40 commit b189c50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ccw.core/src/ccw/launching/ClojureLaunchDelegate.java
Expand Up @@ -35,6 +35,8 @@
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
import org.eclipse.jdt.launching.JavaLaunchDelegate;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.WorkbenchException;
import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole;
Expand Down Expand Up @@ -112,12 +114,13 @@ public void done() {
}
});
} catch (CoreException e) {
CCWPlugin.logError("unexpected exception during project refresh for auto-load on startup", e);
final String MSG = "unexpected exception during project refresh for auto-load on startup";
ErrorDialog.openError(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
"REPL Connexion failure", MSG, e.getStatus());
}
} else {
connectRepl();
}
monitor.done();
}
private IProject getProject() {
try {
Expand All @@ -135,6 +138,7 @@ private void connectRepl() {
}
}
});
monitor.done();
return Status.OK_STATUS;
}
};
Expand Down

0 comments on commit b189c50

Please sign in to comment.