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.
Subversion Practice
The following should all be done within Eclipse.
Checkout the example project:
- Import --> SVN --> Checkout Projects from SVN
- Create a new repository (works from home computer too):
svn+ssh://username@serac.cs.wlu.edu/svn/csrepos/cs209_fall2015/
- Expand
Example
and selecttrunk
- Click "Next"
- Click "Check out as a project configured using the New Project Wizard"
- Click "Finish"
- Click "Java Project"
- Make the name be "SVNPractice"
- Finish
Practice updating and committing a file.
- Open
src/cs209/WeAreHere.java
- 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. - Right click on the file, click Team, click Commit
- 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
- Create a new file, named by your user name.
- Add some text into that file. The file should have a "?" on it.
- Right click on the file, click Team, click "Add to Version Control". The file should now have a big plus sign on it.
- 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.