Easy way to Import Project to Eclipse workspace

There was this situation where I had to import my non-eclipse project to eclipse environment. I tried to import with the regular eclipse way Import → General → File System. But It required the empty project existing into the eclipse environment. So, I always had problems with it.

Then, I accidently found a newer way to import project to eclipse environment, it is also easy and doesn’t take time.

Follow the instructions below

My workspace is e:\htdocs
Switch workspace

1. First copy the project to the eclipse workspace.
For e.g. I have copied my “news” zend proejct to the root of my workspace.
Non-eclipse Project

2. Then create the eclipse new project with the same name as the project. i.e. if the root project folder is dummy_project then create eclipse new project with name dummy_project.
Create new eclipse project

Ignore the message shown during creation of new project about the existing project.

3. Finally click “Finish” to import the project. It takes some processing and then the project is imported into the eclipse workspace.
Create new eclipse project
I felt this way quite easy to import eclipse project then the usual import provided in eclipse.

Hope you find it useful. If you have any comments please drop them in the comment below :)

Samundra Shrestha

I work as fullstack developer. Having spent more than 5 years in the web development technologies, I aspire to create an environment where we can share, learn and grow together.

One thought on “Easy way to Import Project to Eclipse workspace

Leave a Reply

Your email address will not be published. Required fields are marked *