Eclipse workspace backup

后端 未结 2 1298
走了就别回头了
走了就别回头了 2020-12-20 22:14

What do I lose if I skip the .metadata/ directory when doing the back-up of my Eclipse workspace? (Is there some documentation describing what Eclipse stores in

相关标签:
2条回答
  • 2020-12-20 22:26

    So, can I safely ignore the .metadata/ directory [in an Eclipse workspace backup]?

    Yes. Eclipse will create a new .metadata directory when you create a new project from your source code repository.

    0 讨论(0)
  • 2020-12-20 22:29

    You do not generally want to backup .metadata directory because its content is not portable. When you create a new workspace and re-import your projects, you will notice that your workspace preferences will be missing (stuff set under Window -> Preferences). Everything from code style preferences, to path variables to target runtimes. Mitigate your risk by keeping good notes on how you configure your workspace preferences and you will have no problem recovering. Some preferences (like user spelling dictionary and code style) allow you to reference external files. Take advantage of this and put those files in a directory that will be backed up.

    0 讨论(0)
提交回复
热议问题