CSE 70, Fall 2008

Software Engineering

Lab 2 Instructions


Remember to run prep cs70f before starting to get the programs you need in your path.

Part 1: Use svn to check out a project from a repository.

  1. View svn's built-in help by running svn help checkout.
  2. Check out the project by running svn co http://cse70.ucsd.edu/svn/project/branches/lab2
  3. Change your working directory to the new lab2 directory.
  4. Create a README file (using your favorite editor).
  5. add the file
  6. modify an existing file
  7. see the changes
  8. commit the changes (won't work)

Part 2: Use Ant to build the project.

  1. take a look at build.xml
  2. compile and jar up the project
  3. try the application

Part 3: Use JUnit to run the tests in the project.

  1. compile the tests
  2. set the classpath (e.g. if you use bash do the following)
  3. run the tests
  4. run the tests using Ant
  5. clean up

Valid XHTML 1.0 Strict Valid CSS!