annoo9605
annoo9605

Reputation: 31

import project from workspace in eclipse

I have problem with importing projects from workspace into eclipse even though I am able to check the projects (which shows checkable).

After I hit the finish button, there is an error which says "Some projects can not be imported because they already exist in the workspace or their project description file is corrupt."

I have already deleted the projects from workspace so that let me be able to check from the import box.

So I guess that "project description file is corrupt" is the cause.

Can you help me out to fix it. I will appreciate it in advance.

Upvotes: 0

Views: 2552

Answers (3)

Saif Siddiqui
Saif Siddiqui

Reputation: 876

The below issue solved my issue:

  • Navigate to your workspace.
  • Copy the existing project you want to import somewhere else.
  • Now import the existing project in the eclipse.
  • It should look like below image after copyingenter image description here

Upvotes: 0

bibhu_bioit
bibhu_bioit

Reputation: 97

Change your workspace it will work fine.

Upvotes: 0

lesnar
lesnar

Reputation: 2480

I would suggest start from scratch ,including choosing new location for Workspace.

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 project/projects at once.

Upvotes: 1

Related Questions