Skip to main content.

Testing Project Setup

Objective: To get set up for upcoming testing project, by practicing using Subclipse

Due: Before class on Wednesday.

Team Set Up

Email me, ccing your teammate, with your team name for the testing project.

Subclipse Set Up

Steve set up Eclipse so that each user can install her own plugins.

Install Subclipse

Subversion Practice

The following should all be done within Eclipse.

Checkout the example project:

  1. Import --> SVN --> Checkout Projects from SVN
  2. Create a new repository (works from home computer too): svn+ssh://username@serac.cs.wlu.edu/svn/csrepos/cs209_fall2015/
  3. Expand Example and select trunk
  4. Click "Next"
  5. Click "Check out as a project configured using the New Project Wizard"
  6. Click "Finish"
  7. Click "Java Project"
  8. Make the name be "SVNPractice"
  9. Finish

Practice updating and committing a file.

  1. Open src/cs209/WeAreHere.java
  2. Add a print statment that says something like username was here, where username is your username. The file should now have an asterisk on it.
  3. Right click on the file, click Team, click Commit
  4. In a comment, describe the change you made. Submit.

The file should no longer have an asterisk but instead have a cylinder, marking that it's part of the repository.

This will be more interesting as others commit/update the file. Hopefully, we won't have any conflicts.

Practice adding and committing a file

  1. Create a new file, named by your user name.
  2. Add some text into that file. The file should have a "?" on it.
  3. Right click on the file, click Team, click "Add to Version Control". The file should now have a big plus sign on it.
  4. Right click on the file, click Team, click Commit.

Update your repository

Right click on the project, select Team -> Update to Head. If anyone has made any changes since you checked out the code, you'll see their code in your repository.