Since you have no idea what this is, choose Simple At this point, we’ve installed Subclipse successfully, which added support for Subversion servers to our Eclipse setup, and we’ve tested Subclipse by downloading the current Subclipse source code from the repository.
Now we should look at doing something with our own code and our own Subversion repository.
I’ve added two projects, fork Work and thread Work, from my first developer Works article.
My Eclipse workspace (see Figure 11) also contains three other projects from developer Works articles (getopt_demo, getopt_long_demo, and readdir_demo). To add a new project to your Subversion repository, right-click the project (in any of Eclipse’s project views or the Navigator view) and choose Team Share Project from the menu. Select SVN from the list of repositories currently supported by your Eclipse, then click Next.
Subversion’s commands and output are displayed in the Console view, usually found at the bottom of your Eclipse window, if you want to see exactly what Subclipse did with your project.
One of the key features of a version-control system is the ability for other developers to continue development and commit their changes whenever they’re ready.
Before installing anything, Eclipse will warn you that the features aren’t digitally signed (Figure 5).
This is your last chance to cancel the installation. Once Subversion has been installed, Eclipse warns you that you might need to restart the IDE to activate the new features (see Figure 6). When Eclipse comes back up, Subclipse is installed and ready to go.
Eclipse creates a new directory in the repository with the same name as your project, and displays a list of all files and folders in the project.Click OK to add the Subclipse update site to the list in the update manager.Click Finish in the update manager window to begin searching for new features.Before I show you how things work with Subversion, I’ll tell you a little bit about my repository.
It’s hosted on a machine called dogma on port 8000, and I’ve created a new developerworks repository for code associated with my developer Works articles.It’s always nice to test a new feature once you’ve finished the installation; we’ll try checking out a copy of Subclipse from their Subversion repository to make sure it’s been properly installed.From Eclipse’s File menu, choose Import to display the import manager (see Figure 7).Choose Checkout Projects from SVN, then click Next.