How to convert svn project to regular eclipse java project
When you use the svn plugin in eclipse to fetch the project to your eclipse workspace, it will simply download all the files and add it as folders. After downloading the project from SVN, you won’t have the option to make any folder as the source folder under “Java Build Path” option in Eclipse. Without converting a SVN project into an Eclipse based Java project, you cannot clean the project, modify the build path or add new third party jar files into it.
Now, how do you convert a svn based checked-out project into a Java project. The steps are mentioned below:
Note the location of your project on hard disk. This can be done by right clicking your SVN project in Eclipse and choosing properties in the popup menu. The screen showing the location of project is shown below:
- Close Eclipse IDE
- Browse to the location where your SVN project is present on the hard disk
- Open .project file (This file is created by Eclipse IDE as meta data)
- Look for nature tag in this file.
Modify the nature tag with following text:
<natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures>
- Start Eclipse
- Now you should be able to do everything that you do with a regular Java project How to convert svn project to regular eclipse java projecthttp://www.javaexperience.com/how-to-convert-svn-project-to-regular-eclipse-java-project/ Eclipse