user1232138
user1232138

Reputation: 5541

Importing projects in Eclipse

This is a copy of the this post. I have tried the steps suggested in the first(top) answer but when I select the root directory, nothing shows up in the projects column. Any suggestions?

Upvotes: 0

Views: 205

Answers (1)

Stefan Carlson
Stefan Carlson

Reputation: 372

Instead of importing using the existing project dialogue, use the "Projects from Folder or Archive" option:

enter image description here

Then choose your root directory:

enter image description here

If for some reason your project doesn't import as the type of project you want (for example, it doesn't appear as a Java project even though it is), you'll have to add the required nature to the project.

  1. Right click on the project > Properties
  2. Choose Project Natures
  3. Click Add
  4. Select the desired nature. For this example, I've selected Java
  5. Okay > Apply and Close

enter image description here

Upvotes: 1

Related Questions