Skip to content

IntelliJ Importing the project to eclipse

Amir Sagiv edited this page Jul 1, 2017 · 1 revision

make sure you have the latest version of eclipse IDE (neon.3 as of writing this)

You should download and install the eclipse gradle buildship plugin. it should already be installed, but you must update it to it's latest version via help->eclipse marketplace:

after the installation of the plugin, import the project using File->imort->existing gradle project:

after the porject finished importing, there should be errors in the resources and testResources folders.

These errors appear due to a bug in the buildship plugin that considers the resources to be source code. fixing this is easy though. we will force eclipse to ignore the code in these folders. right click the resources folder -> build path -> configure inclusion/exclusion filters then add the exclusion filter * to the empty list of exclusion filters. * will exclude the entire package from the build:

after that the errors in the resources should disappear and no other errors should remain. now you could execute the project via the relevant gradle task as usual:

Clone this wiki locally