reopen a project [message #929849] |
Mon, 01 October 2012 16:41  |
Eclipse User |
|
|
|
There are many projects in the package explorer view so I deleted some from the view (not on the disk). Now, I want to reopen a project in the same workspace. I use import -> existing project into workspace -> select root directory and find my project. Then, I somtimes got: "Some projects cannot be imported because they already exist in the workspace", which didn't allow to open the previously no-show project. But sometimes, I could. Can someone tell me what is the correct way to reopen a project in the same workspace. Thanks.
B.
|
|
|
Re: reopen a project [message #930796 is a reply to message #929849] |
Tue, 02 October 2012 12:47   |
Eclipse User |
|
|
|
On 10/1/2012 2:41 PM, wws_ques wws_ques wrote:
> There are many projects in the package explorer view so I deleted some
> from the view (not on the disk). Now, I want to reopen a project in the
> same workspace. I use import -> existing project into workspace ->
> select root directory and find my project. Then, I somtimes got: "Some
> projects cannot be imported because they already exist in the
> workspace", which didn't allow to open the previously no-show project.
> But sometimes, I could. Can someone tell me what is the correct way to
> reopen a project in the same workspace. Thanks.
> B.
When you deleted the project(s), you didn't delete them from disk, in
the workspace. Now that you try to import them, they're already in the
workspace subdirectory even though they're not projects of the
workspace. There are different ways to proceed. The easiest is to move
them elsewhere, then try to import them again.
When you import them, you'll be given the option of getting them created
in the workspace (again). You decide whether you want to do that.
|
|
|
|
|
|
|
|
Re: reopen a project [message #1823519 is a reply to message #929849] |
Sat, 28 March 2020 00:08  |
Eclipse User |
|
|
|
I downloaded Spring Tools Suite 4 yesterday and faced the same issue. I understand that this issue was raised in 2012 and that, a workaround has already been provided.
I am replying to this post as I encountered the same problem and reached here for a solution to the issue.
I tried a different approach. Eclipse creates a ".metadata" folder in the workspace directory. I deleted the ".metadata" directory and the error was gone. I am able to import project without any issue. One may always get older ".metadata" directory from recycle bin, just in case this solution doesn't work. Alternatively, one may create a backup of ".metadata" directory.
Thanks,
Manoj Tiwari
|
|
|
Powered by
FUDForum. Page generated in 0.10081 seconds