Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Not Importing Projects

I have tried to import my university work into my eclipse at home, however it claims it cannot find any of the projects.

The projects are in one folder, called programming, situated on my desktop, while my eclipse program files are in a separate folder, also on the desktop.

When opening eclipse it asks for the workspace to select, which is just where all of my projects are located on the desktop: "C:\Users\'username'\desktop\programming"

Once eclipse has loaded, i go to file, import, existing projects into workspace and select the root directory as the programming folder.

At this point, on my laptop, it then finds all of my projects and i can import them without a hitch, but on my PC, it says it is unable to find any projects to import.

I am 100% sure i am importing them correctly, as i have done the exact same process on my laptop, using exactly the same files (i transferred them from my laptop), i can't quite understand why it's not working this time.

Thanks in advance for your help,

Matt

like image 475
user2929289 Avatar asked Oct 29 '13 18:10

user2929289


2 Answers

  1. Close eclipse
  2. Delete the .metadata folder
  3. Restart the eclipse
  4. Eclipse will ask for new work space location
  5. Provide a FRESH location
  6. Now import the projects one by one
  7. Don't select the option of "Copy projects into workspace"

See if this helps.

like image 58
SarZ Avatar answered Sep 19 '22 15:09

SarZ


A eclipse project have some hidden file an folders, like .classpath, .project and .settings

If your folder have not this files is not a eclipse project

like image 40
Troncador Avatar answered Sep 18 '22 15:09

Troncador