Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony W. Juckel2014-06-26 17:20:34 -0400
committerIgor Fedorenko2014-06-26 20:39:46 -0400
commitecaa23a22ebf55ff65eaa46ae54036add62bf4da (patch)
tree25d6d53cdc671b6537d79af304ab293b40fb6d1c
parent7a57822498156259850cd35b3413597245364bd2 (diff)
downloadm2e-core-ecaa23a22ebf55ff65eaa46ae54036add62bf4da.tar.gz
m2e-core-ecaa23a22ebf55ff65eaa46ae54036add62bf4da.tar.xz
m2e-core-ecaa23a22ebf55ff65eaa46ae54036add62bf4da.zip
431080 added support for flat project layout
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=431080 Signed-off-by: Anthony W. Juckel <ajuckel@gmail.com>
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
index a1d94328..2f905223 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
@@ -559,6 +559,9 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
}
protected IFolder getFolder(IProject project, String absolutePath) {
+ if(project.getLocation().makeAbsolute().equals(Path.fromOSString(absolutePath))) {
+ return project.getFolder(project.getLocation());
+ }
return project.getFolder(getProjectRelativePath(project, absolutePath));
}

Back to the top