From: aclement Date: Tue, 24 Mar 2009 00:59:35 +0000 (+0000) Subject: 268827: ask for the JDT project state X-Git-Tag: V1_6_4~40 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3d12308ed839f818eda96539510b786d5cffe69;p=aspectj.git 268827: ask for the JDT project state --- diff --git a/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java b/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java index dc8f24b1f..d9f9a6d34 100644 --- a/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java +++ b/ajde.core/src/org/aspectj/ajde/core/IOutputLocationManager.java @@ -77,6 +77,8 @@ public interface IOutputLocationManager { */ void reportFileRemove(String file, int fileType); + int discoverChangesSince(File dir, long buildtime); + // match numbers in CompilationResultDestinationManager - ought to factor into super interface int FILETYPE_UNKNOWN = 0; int FILETYPE_CLASS = 1; diff --git a/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java b/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java index 65a8aaafd..380ab1c59 100644 --- a/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java +++ b/ajde.core/src/org/aspectj/ajde/core/internal/OutputLocationAdapter.java @@ -57,4 +57,8 @@ public class OutputLocationAdapter implements CompilationResultDestinationManage this.locationManager.reportFileRemove(outputfile, filetype); } + public int discoverChangesSince(File dir, long buildtime) { + return this.locationManager.discoverChangesSince(dir,buildtime); + } + }