Discussion:
Importing multi-module project into eclipse
James Carr
13 years ago
Permalink
Hi All,

I've been using multi-module projects for awhile and and while it
works great, one thing that has annoyed me is I cannot for the life of
me figure out how to get the root of the project imported into
eclipse. This is a sorely needed feature as those not using git (or
even those using egit) prefer to be able to right click on a folder in
eclipse and pull/push changes. Currently only the submodules are
imported.

Any ideas?


Thanks,
James
Peter Niederwieser
13 years ago
Permalink
It's an Eclipse limitation, and our plugin doesn't try to work around it. A
few potential solutions:

1. Import all projects individually, including the root project. Without
further configuration, the root project will contain all files of the other
projects though.
2. Switch to a flat directory layout where the root project is in a sibling
directory of the other projects. This is very common in the Eclipse world.
3. Use the STS Gradle plugin, which has great support for builds with
hierarchical layout.

--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw

--
View this message in context: http://gradle.1045684.n5.nabble.com/Importing-multi-module-project-into-eclipse-tp5548637p5548805.html
Sent from the gradle-user mailing list archive at Nabble.com.

Continue reading on narkive:
Search results for 'Importing multi-module project into eclipse' (Questions and Answers)
5
replies
what are programming languages?
started 17 years ago
programming & design
Loading...