Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can one import an entire workspace into eclipse?

I have searched around the interwebs and have failed to find the answer to this question so I thought I would ask the wise people here.

I reformatted my computer recently and I backed up all my data including my Eclipse workspace but I failed to export my projects using Eclipse itself. I replaced my workspace file back into Eclipse but it does not show any of my projects as run-able Eclipse projects. Is there a provision to import a whole workspace into Eclipse? Is there information in other files that Eclipse requires or will I just need to manual rebuild the project? Thanks for your help and advice all.

like image 731
Sev Avatar asked Nov 15 '13 15:11

Sev


People also ask

How do I Import multiple projects into Eclipse?

If all of your old projects exist in a single directory or in a single parent directory, you can do File -> Import... -> Existing Projects into workspace. Choose a root directory that is a parent all of the projects you want to import. You will then be able to import all of the projects at once.

What is the difference between workspace and project in Eclipse?

In a workspace you define projects that reference your disk resources. You don't have to move source files into the workspace. And projects don't import or copy source files into the workspace. Instead projects point to any folder or files on your disk.


1 Answers

You need to browse earlier workspace. Projects inside workspace automatically appears in project panel. However if they don't, goto File-> import menu and select "import existing" and browse to project folder in workspace. It should work.

like image 98
Dark Knight Avatar answered Sep 18 '22 13:09

Dark Knight