Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get back a deleted project in eclipse

Today, by mistake i deleted an entire android project from Eclipse Helios. I searched for it all over the web, i found that we have to open the project navigator and then click on 'Restore from local history'. But it didn't work.I didn't understand what to do. Is there any way how we can get a deleted project back in android. Please give me a step by step way to recover it. My hours of work is in vain. Please, Please help me.

like image 247
Tejas Tamkahne Avatar asked Jun 13 '11 10:06

Tejas Tamkahne


2 Answers

If you have deleted the contents on disk and on eclipse there is still a small chance you can recover some of the project files.

If you search the eclipse Workspace metadata there are files stored in the history there. These files are named completely differently though but if you have an idea of the date of when you were working on it you may be able to recover some files for the project.

Directory tree is the same on both windows and linux workspace.metadata.plugins\org.eclipse.core.resources.history

like image 193
Nanotron Avatar answered Sep 30 '22 17:09

Nanotron


Have you looked in your workspace folder? If it isnt there its hard to restore it. There is programs out there that can restore it, but i dont know a good one. Even if you find a good program, it might not be able to restore it.

I suggest you start making backups of your projects so this wont happen again.

like image 44
BlackVoid Avatar answered Sep 30 '22 18:09

BlackVoid