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 {
}
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) {
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 {
super(name);
}
- public void testSimpleStructure() throws IOException, CoreException {
+ public void testSimpleStructure() throws IOException /*, CoreException */ {
AjBuildManager manager = new AjBuildManager(messageWriter);
BuildArgParser parser = new BuildArgParser(messageWriter);