diff options
author | aclement <aclement> | 2009-04-06 19:24:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-04-06 19:24:10 +0000 |
commit | 0b1653b40cf31befcb001dc1d9156d2de4634328 (patch) | |
tree | 6c313d46c97c4d24f368294e00e4d9a05f33d0a4 | |
parent | 861ea1bbcbe27a61ecd2683052be23e36a35d189 (diff) | |
download | aspectj-0b1653b40cf31befcb001dc1d9156d2de4634328.tar.gz aspectj-0b1653b40cf31befcb001dc1d9156d2de4634328.zip |
271201: inpath handles
2 files changed, 6 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java index 8ea5c2c17..c8b12db84 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java @@ -13,6 +13,7 @@ package org.aspectj.ajdt.internal.compiler; import java.io.File; import java.util.List; +import java.util.Map; /** * acts as a bridge from ajde's OutputLocationManager interface to the compiler internals @@ -75,6 +76,8 @@ public interface CompilationResultDestinationManager { */ void reportFileRemove(String outputfile, int filetype); + Map getInpathMap(); + int discoverChangesSince(File dir, long buildtime); // match numbers in IOutputLocationManager - ought to factor into super interface diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index f9ec2f618..a9eb73111 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -23,6 +23,7 @@ import java.io.OutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.Collection; +import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List; @@ -756,7 +757,8 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour // if (!AsmManager.isCreatingModel()) // return; - AsmManager structureModel = AsmManager.createNewStructureModel(); + CompilationResultDestinationManager crdm = config.getCompilationResultDestinationManager(); + AsmManager structureModel = AsmManager.createNewStructureModel(crdm==null?Collections.EMPTY_MAP:crdm.getInpathMap()); // AsmManager.getDefault().getRelationshipMap().clear(); IHierarchy model = structureModel.getHierarchy(); String rootLabel = "<root>"; |