Community
Participate
Working Groups
Created attachment 267933 [details] more visual way to understand the issue using Eclipse DSL Tools Version: Oxygen Release Milestone 6 (4.7.0 M6) Build id: 20170316-1528 I cloned the MAT gerrit repo https://git.eclipse.org/r/#/admin/projects/mat/org.eclipse.mat then click "Import projects" I ended with the top level folder imported as a Java project which have src folders defined pointing to chidren src folder.
*** This bug has been marked as a duplicate of bug 515590 ***
I don't think that it is a duplicate. The issu here, is that the top-level project is imported as a Java one but from my point of view it should be imported as a general project (or a maven project if there is pom.xml)
@Aurelien: does the Eclipse DSL Tools contain m2e ? If there is no m2e, then it's not even aware of the meaning of a pom.xml so it cannot take a good decision.
(In reply to Mickael Istria from comment #3) > @Aurelien: does the Eclipse DSL Tools contain m2e ? If there is no m2e, then > it's not even aware of the meaning of a pom.xml so it cannot take a good > decision. m2e is part of Eclipse DSL
I tried it and it seems MAT gets configured as a JavaScript project. Is this what you see too?
(In reply to Mickael Istria from comment #5) > I tried it and it seems MAT gets configured as a JavaScript project. Is this > what you see too? no, it was configured as a pure Java project
This is definitely a bug in the orchestrating SmartImportJob. It's not supposed to recurse into folders that are already known to be Eclipse projects. I'm working on this with a unit test to reproduce the issue and avoid regressions.
New Gerrit change created: https://git.eclipse.org/r/95798
Gerrit change https://git.eclipse.org/r/95798 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=451adbcedf350b4f86956f6eee1964420cfb1474
New Gerrit change created: https://git.eclipse.org/r/95808
Gerrit change https://git.eclipse.org/r/95808 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=390e89f3ba2c7bf0383f77794f8b7b6db95c087d