When importing Gradle projects from a folder with the generic project configurator, other configurators like the ProjectWithJavaResourcesImportConfigurator must not run. Otherwise resources in subprojects could be imported twice.
To prevent the execution of secondary configurators the method shouldBeAnEclipseProject(...) has to return true for the root of Gradle projects.
Note: In the implementation of the integration test I have to wait for the SmartImportJob to finish. Unfortunately the job family of this job is the non-API job class. This is why I used Class.forName(...).
Fixes #1288
When importing Gradle projects from a folder with the generic project configurator, other configurators like the
ProjectWithJavaResourcesImportConfigurator
must not run. Otherwise resources in subprojects could be imported twice.To prevent the execution of secondary configurators the method
shouldBeAnEclipseProject(...)
has to returntrue
for the root of Gradle projects.Note: In the implementation of the integration test I have to wait for the
SmartImportJob
to finish. Unfortunately the job family of this job is the non-API job class. This is why I usedClass.forName(...)
.