diff options
-rw-r--r-- | ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java | 10 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java index 54e709410..65f769299 100644 --- a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java +++ b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java @@ -24,7 +24,7 @@ import org.aspectj.ajdt.ajc.*; import org.aspectj.ajdt.internal.core.builder.*; import org.aspectj.bridge.*; import org.aspectj.util.LangUtil; -import org.eclipse.core.runtime.OperationCanceledException; +//import org.eclipse.core.runtime.OperationCanceledException; import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; public class CompilerAdapter { @@ -107,10 +107,10 @@ public class CompilerAdapter { } return buildManager.batchBuild(buildConfig, messageHandler); } - } catch (OperationCanceledException ce) { - Ajde.getDefault().getErrorHandler().handleWarning( - "build cancelled by user"); - return false; +// } catch (OperationCanceledException ce) { +// Ajde.getDefault().getErrorHandler().handleWarning( +// "build cancelled by user"); +// return false; } catch (AbortException e) { final IMessage message = e.getIMessage(); if (null == message) { diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java index 5cf5d8a8c..e60618f11 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java @@ -26,7 +26,7 @@ import org.aspectj.bridge.IMessage; import org.aspectj.bridge.MessageHandler; import org.aspectj.bridge.MessageWriter; import org.aspectj.util.StreamPrintWriter; -import org.eclipse.core.runtime.CoreException; +//import org.eclipse.core.runtime.CoreException; public class AjBuildManagerTest extends TestCase { @@ -59,7 +59,7 @@ public class AjBuildManagerTest extends TestCase { super(name); } - public void testSimpleStructure() throws IOException, CoreException { + public void testSimpleStructure() throws IOException /*, CoreException */ { AjBuildManager manager = new AjBuildManager(messageWriter); BuildArgParser parser = new BuildArgParser(messageWriter); |