Add projects directory.


git-svn-id: file:///Users/ghelmer/svn@1 d9e7442b-0272-427a-90c7-dca5c97caf01
Checkpoint grading project.


git-svn-id: file:///Users/ghelmer/svn@2 d9e7442b-0272-427a-90c7-dca5c97caf01
Allow specification of the output filename for text.


git-svn-id: file:///Users/ghelmer/svn@3 d9e7442b-0272-427a-90c7-dca5c97caf01
Update AssignmentResults to handle input from BlackBoard assignment
download - move files into per-student / per-submission directories,
then copy Java files from submission (in order by date) into
the student's root directory.

Change the findJavaFiles() method to just findFiles(File dir),
and only take Java files that appear in the "root" directory
of each student's submission.


git-svn-id: file:///Users/ghelmer/svn@4 d9e7442b-0272-427a-90c7-dca5c97caf01
Move source files into src directory.
Add CopyFile class.


git-svn-id: file:///Users/ghelmer/svn@5 d9e7442b-0272-427a-90c7-dca5c97caf01
Move java files in src directory.


git-svn-id: file:///Users/ghelmer/svn@6 d9e7442b-0272-427a-90c7-dca5c97caf01
Change findFiles() method to take allFiles arraylist as parameter.

git-svn-id: file:///Users/ghelmer/svn@7 d9e7442b-0272-427a-90c7-dca5c97caf01
Handle directory entries in zip files.

git-svn-id: file:///Users/ghelmer/svn@8 d9e7442b-0272-427a-90c7-dca5c97caf01
Make directory entries properly.
Don't add files beginning with '.' to the list of unpacked files.


git-svn-id: file:///Users/ghelmer/svn@9 d9e7442b-0272-427a-90c7-dca5c97caf01
Return a String containing metadata information rather than printing directly
to the System.out.
Throw exceptions rather than handling them in the getText() method.


git-svn-id: file:///Users/ghelmer/svn@10 d9e7442b-0272-427a-90c7-dca5c97caf01
Handle ZipException when it occurs.
Keep a list of all .java files, and copy .java files from submissions / expanded Zip files up to student's root directory.
If an exception occurs while getting text data from a file, include the exception's stack trace in the report.
Skip .class files anywhere in a submission.
Use the organizeBlackBoardFiles() and copyJavaFilesToUser() methods.

git-svn-id: file:///Users/ghelmer/svn@11 d9e7442b-0272-427a-90c7-dca5c97caf01
Check & compile correct set of Java files -- those that were copied to the student's root directory.

git-svn-id: file:///Users/ghelmer/svn@12 d9e7442b-0272-427a-90c7-dca5c97caf01
Add stripPackageFromJavaFiles() method and call it after copying Java files from submissions.

git-svn-id: file:///Users/ghelmer/svn@13 d9e7442b-0272-427a-90c7-dca5c97caf01
Add AssignmentClasses class to hold information about the classes that are part of the assignment.
Check for showClass attribute on program/class elements and if set show the content of the Java class in the assignment.


git-svn-id: file:///Users/ghelmer/svn@14 d9e7442b-0272-427a-90c7-dca5c97caf01
Don't print notes about each file as it is found.
Open the error stream from the running program and includes its data in the program output strings.

git-svn-id: file:///Users/ghelmer/svn@15 d9e7442b-0272-427a-90c7-dca5c97caf01
Not that it helps, but try to put a formfeed character between students in the report.


git-svn-id: file:///Users/ghelmer/svn@16 d9e7442b-0272-427a-90c7-dca5c97caf01
Skip Java files that have been copied into the student's root directory to avoid trying to copy Java files over themselves.

Get the earliest submission date out of the submission.txt file(s) and use to order the students in the output report.


git-svn-id: file:///Users/ghelmer/svn@17 d9e7442b-0272-427a-90c7-dca5c97caf01
Update default stdout / stderr capturing by using ByteArrayOutputStream to capture the output, and then copy the data into the output ArrayList.
Setup a Timer to terminate the child process after 15 seconds to avoid a hung child process from stopping the grading system.


git-svn-id: file:///Users/ghelmer/svn@18 d9e7442b-0272-427a-90c7-dca5c97caf01
Keep the student results as a member of the class.
Write results to a report file in the assignments directory.

git-svn-id: file:///Users/ghelmer/svn@19 d9e7442b-0272-427a-90c7-dca5c97caf01
Wait for the stdout and stderr threads before reading the output data.

git-svn-id: file:///Users/ghelmer/svn@20 d9e7442b-0272-427a-90c7-dca5c97caf01