CS 160 Lab #2

Work with your buddy. When you check in your joint work today, one of you checks in answers.txt, the other checks in lab2.xml.

Do as many steps as you can. Five minutes before end of class, do step 12 (i.e. check your work into CVS). I will check this. If you didn't get the whole lab done, finish it before the next class (either by yourself or with your buddy) and check the remaining work into CVS again.

1. Open a bash shell. Run

source cs160.profile

as explained in lab 1. Make a directory ~/cs160/lab2:

mkdir -p ~/cs160/lab2

Using the text editor of your choice, buddy #1 edits a file answers.txt in that directory. (Cygwin users: This is the same as c:\cygwin\home\cs160\lab2\answers.txt.)

2. Download and install GanttProject (the latest stable version) to ~/ganttproject-version (or another reasonable directory path that does not contain spaces). Start GanttProject. On my Linux machine, I do this:

~/ganttproject-version/ganttproject.sh

How did you start GanttProject on your operating system? Put the answer into answers.txt.

3. A small project consists of the following tasks:

Buddy #1 answers these questions:

  1. How do you add a task?
  2. How do you link two tasks to indicate that one must happen after the other?
  3. How do you set the resources of a task?

Buddy #2 makes a schedule for this project and saves it to the file ~/cs160/lab2/lab2.xml.

4. Open the file in a text editor. What does it look like? Put the answer (a description, not a copy of the file) into answers.txt.

5. How do you make a graphical version of the schedule that you can post on your project web site? Put the answer into answers.txt.

6. You want to display the responsible people next to the task. How can you do that? (Hint: Edit -> Settings) Put the answer into answers.txt.

7. Suppose Bob gets sick in week 4, and you decide to let Amy to do the test plan development, but you don't make any other adjustments to the schedule. How can you tell in ganttProject that Amy is overloaded? Put the answer into answers.txt.

8. Add milestones "Design complete", and "Project finished" to the schedule. How do the milestones show up on the schedule? Put the answer into answers.txt.

9. Implementation ends up taking 4 weeks. What is the impact on the schedule? Put the answer into answers.txt.

10. Producing the user manual ends up taking only one week. What is the impact on the schedule? Put the answer into answers.txt.

11. Import the lab2 directory into CVS. The first time only, do this:

cd ~/cs160/lab2
cvs import -m "message" lab2 vendor release
cd ..
mv lab2 lab2.bak
cvs checkout lab2
rm -rf lab2.bak
cd lab2

At all other times, do

cd ~/cs160/lab2
cvs commit -m "message"