Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Liefke2016-11-27 16:49:51 -0500
committerFred Bricon2019-02-19 18:59:06 -0500
commit281e9ec63517877d1e726cb0129c86a89430057e (patch)
tree92fda89c8f8097688abf32e026413b65d30681d9
parent7d3582a8d9d5afad32b13004275d667324f81f52 (diff)
downloadm2e-core-281e9ec63517877d1e726cb0129c86a89430057e.tar.gz
m2e-core-281e9ec63517877d1e726cb0129c86a89430057e.tar.xz
m2e-core-281e9ec63517877d1e726cb0129c86a89430057e.zip
Bug 508238 Support projects as root of deltas
Change-Id: Iabddfdb371a33ad38a2e22f37a3eb2ba4a2019de Signed-off-by: Tobias Liefke <eclipse@liefke.biz>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/plexusbuildapi/ResourceDeltaScanner.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/plexusbuildapi/ResourceDeltaScanner.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/plexusbuildapi/ResourceDeltaScanner.java
index 86180cf2..11b932bc 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/plexusbuildapi/ResourceDeltaScanner.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/builder/plexusbuildapi/ResourceDeltaScanner.java
@@ -16,7 +16,6 @@ import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IResourceDeltaVisitor;
@@ -73,7 +72,7 @@ public class ResourceDeltaScanner extends AbstractScanner {
includedFiles.add(relpath);
}
return true;
- } else if(delta.getResource() instanceof IFolder) {
+ } else if(delta.getResource() instanceof IContainer) {
return couldHoldIncluded(relpath);
}

Back to the top