恢复NetBeans本地历史记录 [英] Recovering netbeans local history
问题描述
我有一个虚拟机,里面有我的PHP项目.该项目是使用Netbeans开发的,我广泛使用了其本地历史.
I had a Virtual Machine inside which I had my PHP project. The project was developed using Netbeans, and I used its local history extensively.
我的VM Ubuntu安装已损坏,因此我最终创建了一个新VM.我能够从VDI复制大多数文件(我将其附加到新的VM),但是我无法弄清楚netbeans本地历史记录的保存位置.我复制了Netbeans项目文件夹,但历史记录似乎没有保存在这里.
My VM Ubuntu installation got corrupted, so I ended up creating a new VM. I was able to copy over most of the files from the VDI (I attached it to the new VM), but I can't figure out where netbeans' local history is saved. I copied over the Netbeans project folder, but the history doesn't seem to be saved here.
有人知道我如何恢复Netbeans历史吗?
Does anybody know how I can recover the Netbeans history?
推荐答案
本地历史记录保存在.netbeans设置文件夹中.在我的Windows 7计算机上,该计算机位于<HOME>/.netbeans/<NB_VERSION>/var/filehistory
,其中HOME
是我的用户主目录,而NB_VERSION
是NetBeans的版本(例如7.0).
Local History is kept in the .netbeans settings folder. On my Windows 7 machine that is located at <HOME>/.netbeans/<NB_VERSION>/var/filehistory
where HOME
is my user home and NB_VERSION
is the version of NetBeans (e.g. 7.0).
不幸的是,这是一件全有或全无的事情.我无法告诉您找到特定项目的方法.因此,如果您的主机上有项目的本地历史记录,则可能会覆盖这些历史记录.
Unfortunately this is an all or nothing thing. There is no way, that I can tell, to find specific projects. So, if you have local history for projects on your host machine you run the risk of overwriting these.
这篇关于恢复NetBeans本地历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!