如何从旧的__jb_bak__或__jb_old__文件还原 [英] How do you restore from a old __jb_bak__ or __jb_old__ file
问题描述
如何从旧的 jb_bak 或 jb_old intellij文件中获取备份文件. 我最近发现了已删除文件(.java)的 jb_bak ,使用本地历史记录无法恢复该文件.我如何从 jb_bak /p>
How can one get the backed up file from an old jb_bak or jb_old intellij file. I recently found the jb_bak of a deleted file(.java) which wasn't recoverable using Local History how can I get this file back to its original state from the jb_bak
推荐答案
我终于解决了它: 但是无法从 jb_bak 或 jb_old 恢复原始文件. 我下载了
How I finally solved it: wasn't able to recover the original file from the jb_bak or jb_old though. I downloaded easus data recovery wizard
并指定我项目的jar生成以恢复已删除的类输出(因为我的src
类文件已被覆盖),即
C:
\ IdeaProjects
\ Yuppies
\ src
\ main
\ resources
\ Jars
\ out
\ production
\ Jars
\ yars
\ ...
and specified my project's jar production in order to recover the deleted class outputs(since my src
class files were overwritten already) i.e.
C:
\ IdeaProjects
\ Yuppies
\ src
\ main
\ resources
\ Jars
\ out
\ production
\ Jars
\ yars
\ ...
Yars
是包含我的课程 @ src
Yars
was the folder containing my classes @src
对于遇到类似问题的任何人,如果以上操作均无效,则可能需要尝试检查适用于您的项目的以下路径(我的项目名称为 Yuppies )或者如果您想将以上结果与这些结果进行比较,以便获得最大/最新更新的文件副本:
For anyone who runs into this similar problem you may want to try checking the following paths as it applies for your project(my project's name was Yuppies ) if the above doesn't work or if you want to compare results above with these so you can get the copy of your file with the largest size/the most recent update:
C:\ IdeaProjects \
Yuppies
\ target \ classes \ Jars \ out \ production \ Jars \yars
\ ...
C:\IdeaProjects\
Yuppies
\target\classes\Jars\out\production\Jars\yars
\ ...
OR
C:\ IdeaProjects \
Yuppies
\ target \ classes \yars
\ ...
C:\IdeaProjects\
Yuppies
\target\classes\yars
\ ...
如果这样不起作用,请尝试检查intellij是否构建了原始类的jar @
C:\ IdeaProjects \
Yuppies
\ target \ classes \ Jars \ out \ artifacts \ ...
C:\IdeaProjects\
Yuppies
\target\classes\Jars\out\artifacts\ ...
,看看是否可以反编译jar文件.
这篇关于如何从旧的__jb_bak__或__jb_old__文件还原的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!