Friday, November 16, 2007

SVN Java Project With Eclipse

If you have your source code in a SVN repository and want to set up a Java project in Eclipse (tested on the Helios release), you cannot simply do a New --> Project --> SVN --> Checkout projects from SVN.
The resulting project will not be a Java project and you won't be able, for example, to set up the build path with all its implications...

This is the way to go:
  1. Choose Window --> Open perspective --> SVN repository exploring, configure the repository.
  2. Open it and choose the trunk, a tag or a branch.
  3. Do a right-click and do a Find/Checkout As (e.g. as a Java project)