]> source.dussan.org Git - aspectj.git/commitdiff
test and fix for 168840: incremental compilation and inpath
authoraclement <aclement>
Thu, 21 Dec 2006 13:22:41 +0000 (13:22 +0000)
committeraclement <aclement>
Thu, 21 Dec 2006 13:22:41 +0000 (13:22 +0000)
ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java

index 871cd5df5a96c42b4cc80185a1b8690f1111c081..d8c3a18b72f7a1485d8e9c8e1102117ef4c1f83c 100644 (file)
@@ -630,6 +630,9 @@ public class CompilerAdapter {
         join(config.getSourceRoots(), properties.getSourceRoots());
         join(config.getInJars(), properties.getInJars());
         join(config.getInpath(),properties.getInpath());
+        // bug 168840 - calling 'setInPath(..)' creates BinarySourceFiles which
+        // are used to see if there have been changes in classes on the inpath
+        if (config.getInpath() != null) config.setInPath(config.getInpath());
                config.setSourcePathResources(properties.getSourcePathResources());
         join(config.getAspectpath(), properties.getAspectPath());
        }