diff options
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java index 8911c4be2..cb9a2e1f3 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java @@ -412,6 +412,11 @@ public class AjState implements CompilerConfigurationChangeFlags { * */ private int classFileChangedInDirSinceLastBuildRequiringFullBuild(File dir) { + + if (!dir.isDirectory()) { + return CLASS_FILE_CHANGED_THAT_NEEDS_FULL_BUILD; + } + // Are we managing that output directory? AjState state = IncrementalStateManager.findStateManagingOutputLocation(dir); if (listenerDefined()) { |