简体   繁体   English

如何在Eclipse中恢复Project Facets转换?

[英]How to revert a Project Facets convertion in Eclipse?

I have a Java 8 project for Desktop, in Eclipse. 我在Eclipse中有一个用于桌面的Java 8项目。 Following instructions to fix another problem, I right clicked on my project and Properties -> Project Facets and I checked the Dynamic Web Module. 按照说明修复另一个问题,我右键单击了我的项目和Properties - > Project Facets,我检查了动态Web模块。 Now I'm having some problems with the project and I'd like to reverse the actions I've taken. 现在我对项目有一些问题,我想扭转我采取的行动。 How do I get the project back to how it was before that change I made? 在改变之前,如何让项目恢复到原来的状态?

You have to edit the .project in your repo project and do the following: 您必须在repo项目中编辑.project并执行以下操作:

  • Remove the unwanted buildCommand entries. 删除不需要的buildCommand条目。
  • Remove the unwanted nature entries. 删除不需要的自然条目。
  • Then restart your eclipse or close open your project. 然后重启你的日食或关闭你的项目。

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

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