如何移动 .eclipse 文件夹?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8288452/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:22:10  来源:igfitidea点击:

How to move .eclipse folder?

eclipseconfiguration

提问by Paul Webster

I am using Spring System Tool Suite. The IDE creates an additional folder named .eclipsein my @user.homefolder. How can I move the .eclipsefolder to somewhere else and make the Spring STS use the new path (instead of recreating and using a new .eclipse folder in @user.home)?

我正在使用 Spring 系统工具套件。IDE在我的@user.home文件夹中创建了一个名为.eclipse的附加文件夹。如何将.eclipse文件夹移动到其他地方并使 Spring STS 使用新路径(而不是在@user.home 中重新创建和使用新的 .eclipse 文件夹)?

回答by Paul Webster

I didn't see an option to change that location by default (it happens when the install is read-only and a user needs a writable configuration area). You could alway try and pass in a better configuration area to osgi.configuration.area. See Setting the private configuration areafor the suggested option and Runtime Optionsfor more information in general.

我没有看到默认情况下更改该位置的选项(当安装为只读且用户需要可写配置区域时会发生这种情况)。您始终可以尝试将更好的配置区域传递给osgi.configuration.area. 有关更多信息,请参阅为建议选项和运行时选项设置私有配置区域