Changing project type form general to java in eclipse
You have a project, which is basically a java project but during checking out the project or creating a new project, you didn’t selected type of project as java. You are stuck now as there is no option to change it to java type in eclipse UI.
You can change type of project by modifying.projectfile, located in the root directory of your project. Open .project file in any text editor and search for text “natures”. You’ll see an empty natures node.
<natures> </natures>
Change this value to
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
May 16, 2010 | Filed Under Java, Web Development
Related Post
Comments
Leave a Reply