Base repository for CS56 F16 lab04 (Open Source)
See: https://ucsb-cs56-f16.github.io/lab/lab04/
Originally, this section of the README.md was called grader hints, but is occurred to me that students completing the assignment should probably read this also. These are the commands that the TA, Reader, Instructor are going to use to check your work, so it will benefit you to run these commands also.
In addition, you can see examples of some past student work that illustrates what you are supposed to do in this assignment.
- Use
ant -p
to see all available tasks - The grader tasks include these:
gradeMPV1 run MultiPictureViewer for studentName with arg 1 gradeMPV2 run MultiPictureViewer for studentName with arg 2 gradeMPV3 run MultiPictureViewer for studentName with arg 3 gradePV run simple.PictureViewer for student in studentName property gradeSimpleGui1 run simpleGui1 for student in studentName property
To run one of those tasks, overriding the student's CSIL id to jgaucho, use, for example:
ant -DstudentName=jgaucho gradePV
You can test this with studentName set to pconrad
, andrewberls
, or jstaahl
as examples. All of those should work on pconrad, though only the MPV tasks will work for the other two.
Try executing the following:
ant -DstudentName=pconrad gradePV
What you should see will look something like this:
This is sample output from the program src/edu/ucsb/cs56/drawings/pconrad/simple/PictureViewer.java.
It shows code that was drawn by F16-lab04/src/edu/ucsb/cs56/drawings/pconrad/simple/PictureComponent.java, which draws a simple House, and an incomplete snowman.
One of your "warmup exercises" is to try to complete your own version of this snowman (or, if you prefer, "person of snow".)