eclipse取消撤销_Eclipse项目被删除如何撤消它?或恢复

I have to recover a deleted Eclipse blackberry project.

解决方案

If you deleted the project with "delete from disk" checked then Eclipse will have deleted the project files. You might get lucky ...

Check your file system backups. If the backups are recent, the missing files may be there.

If you are using a version control repository, check to see if you can recover from the most recent commit.

If you have a (platform specific) deleted file recovery tool you may be able to recover some of the deleted files that way.

If you didn't check "delete from disk", you should be able to recover by re-importing the project using "Import > General > Existing Project into Workspace". (Use Browse to select the directory containing project and it should show up in the Projects: list.)

To anyone who finds themselves in this unfortunate situation, the lessons are:

Use version control, and make sure that you check in your code regularly.

Choose a VCS that allows you to take snapshots of "not working at the moment" code.

Regular file system backups are a good idea, including file system backups of the disc holding your version control repository. (Ideally the backup media should be kept in another building. Fires happen.)

Disk recovery software can't be relied on to get all of your files back. (See other Answers.)

And, most importantly:

Be careful when you delete stuff. Think before you click.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值