aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-10-01 14:18:04 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-01 14:18:04 -0700
commit5ef3136fe8c58cd748ad36cda8acbeaa32a1a4ed (patch)
tree42517f24cb666487e080a15db0269594190e0d6d
parent19206bf48631dd7997eb5a378300160df842bcf3 (diff)
parent67c94635efc14f14fed9459021b28c2cb80b6916 (diff)
downloadsdk-5ef3136fe8c58cd748ad36cda8acbeaa32a1a4ed.zip
sdk-5ef3136fe8c58cd748ad36cda8acbeaa32a1a4ed.tar.gz
sdk-5ef3136fe8c58cd748ad36cda8acbeaa32a1a4ed.tar.bz2
Merge "Fix dependency on changed Java projects."
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java
index c91b629..738a5bf 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java
@@ -314,14 +314,15 @@ public class PostCompilerBuilder extends BaseBuilder {
IJavaProject referencedJavaProject = referencedJavaProjects.get(i);
delta = getDelta(referencedJavaProject.getProject());
if (delta != null) {
+ IProject referencedProject = referencedJavaProject.getProject();
PatternBasedDeltaVisitor visitor = new PatternBasedDeltaVisitor(
- project, referencedJavaProject.getProject(),
+ project, referencedProject,
"POST:RefedProject");
- ChangedFileSet javaResCfs = ChangedFileSetHelper.getJavaResCfs(project);
+ ChangedFileSet javaResCfs = ChangedFileSetHelper.getJavaResCfs(referencedProject);
visitor.addSet(javaResCfs);
- ChangedFileSet bytecodeCfs = ChangedFileSetHelper.getByteCodeCfs(project);
+ ChangedFileSet bytecodeCfs = ChangedFileSetHelper.getByteCodeCfs(referencedProject);
visitor.addSet(bytecodeCfs);
delta.accept(visitor);