Return deleted project from Eclipse
I have serious problem, I have deleted Java project f开发者_如何学JAVArom Eclipse and I don't have fresh revision on CVS. Is there any chance anyway to return that project or I am najebao ?
Eclipse - Managing Files and Projects says:
To delete a project right click on the project in the package viewer. Again, select "Delete" from the context menu. This time, a dialog box will appear asking you if you want to also delete all of the files in the project's directory. The default is "Do not delete contents". If you select this option, the Java files that were a part of that project will not be deleted. If you are sure you no longer need the project delete the contents instead.
So may be you just deleted it from eclipse but it is still on your hardisk. Otherwise you have to use Data Recovery Softwares
If you only happened to delete the project in eclipse, but left the "Delete project contents on disk (cannot be undone)" unchecked, you can restore the project. This is done by using File/Import, selecting "Existing Projects into Workspace" and browsing towards the location on your hard drive, where you had preciously stored your project.
After deleting a project from disk, there is no way Eclipse can restore it. However, depending on your operating system, it might still be in your Trash folder. If it's not, then this is indeed a question of data recovery.
精彩评论