From: aclement Date: Tue, 26 Oct 2010 19:25:16 +0000 (+0000) Subject: 328649: addDependencies for Compilation Participants X-Git-Tag: V1_6_11M1~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ab4df758611740cb2f20467a80a6a66e7e5228a;p=aspectj.git 328649: addDependencies for Compilation Participants --- diff --git a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java index 13cda32f3..d6231a05f 100644 --- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java +++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java @@ -10,13 +10,14 @@ *******************************************************************/ package org.aspectj.ajde.core; +import java.io.File; + import org.aspectj.ajde.core.internal.AjdeCoreBuildManager; import org.aspectj.ajdt.internal.core.builder.AjState; import org.aspectj.ajdt.internal.core.builder.IncrementalStateManager; import org.aspectj.asm.AsmManager; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.Message; -import org.aspectj.org.eclipse.jdt.internal.compiler.CompilationResult; import org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions; /** @@ -110,9 +111,9 @@ public class AjCompiler { buildManager.cleanupEnvironment(); } - public void addDependencies(CompilationResult result, String[] typeNameDependencies) { + public boolean addDependencies(File file, String[] typeNameDependencies) { AjState state = IncrementalStateManager.retrieveStateFor(compilerId); - state.recordDependencies(result, typeNameDependencies); + return state.recordDependencies(file, typeNameDependencies); } /**