简体   繁体   English

Eclipse:将配置从一个工作空间导出到另一个工作空间

[英]Eclipse: exporting configurations from one workspace to another

There is a lot of effort involved in configuring the checkstyle/findbug/codestyle etc in a workspace, so repeating the same for another workspace consumes a lot of time. 在工作空间中配置checkstyle / findbug / codestyle等工作涉及很多工作,因此对另一个工作空间重复相同的工作会花费大量时间。

Is there any way in which I can simply export the preferences from one workspace to another in eclipse ? 有什么方法可以在eclipse中将首选项从一个工作区简单导出到另一个工作区?

They are stored in the .settings folder or in .files at the root of the project. 它们存储在项目根目录的.settings文件夹或.files中。 You can commit thwm to you SCM. 您可以将thwm提交给您的SCM。 That would make the project know about the IDE, but that's not a problem if settings don't contain absolute paths. 这样可以使项目了解IDE,但是如果设置不包含绝对路径,那不是问题。

您提到的某些(不幸的是不是全部)设置可以导出到xml文件或从xml文件导入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM