public void run() {
try {
String lib = editor.findDeclaringNamespace();
REPLView replView = editor.getCorrespondingREPL();
SafeConnection replConnection = replView.getSafeToolingConnection();
Response compilationResult = replConnection.send(15000, "op", "eval", "code", CompileLibAction.compileLibCommand(lib));
refreshCompilationResults();
if (new Long(0).equals(((Map)compilationResult.values().get(0)).get("response-type"))) {
runTests(lib, replConnection);
} else {
editor.setStatusLineErrorMessage(ClojureEditorMessages.Compilation_failed);