Update Eclipse Project Facets Using Settings File

In some cases you will not be able to change the eclipse project facets through dialog boxes. It would happen many times when you want to downgrade your versions of facets used by your eclipse project. For example, If your current project configuration is Dynamic Web Module 3.0, if you try to downgrade to 2.5, it won’t allow. In my previous example I have explained how to convert Java project to Web Project using project facets. We can do it in the configuration file. Follow these steps and update the details.

1. Try Updating Using Project Facets Window

Eclipse Project Facets Window

2. Open your project in the navigator view

Eclipse Navigator View

2. Open org.eclipse.wst.common.project.facet.core.xml

Eclipse Projects

3. Update the required parameters

Eclipse IDE Settings Update



About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.