1. Import
In Eclipse, start a project and create the necessary folders and files. For our example, we created a Java project
Figure 1.1 Project Before Import To import this project, do the following
After you complete these steps, Eclipse will switch to the Team Synchronizing Perspective. In this perspective, click on the button Commit All Outgoing Changes ... , which will open up the Commit screen, as shown in Figure 1.2.
Figure 1.2 Commit Screen In the Commit screen you will notice that in addition to the project files and folders, by default the Eclipse-generated files and folders such as .classpath, .project, and .settings are also selected for commit. Version controlling these files and folders provides little benefit and often causes problems on different platforms, so please uncheck them before commit. After the project is committed, switch to the SVN Repository Exploring Perspective, and you will see the repository structure shown in Figure 1.3.
Figure 1.3 Repository After Import Now you can create two branches, one for Student A and one for Student B. Figure 1.4 shows the repository structure after the branches are created.
Figure 1.4 Repository After Branching A screen capture video illustrating the import process is available here. |