UMBC CMSC 202
UMBC CMSC 202 CSEE | 202 | current 202

Submittal Tools

Project submission and project grading for this class are done electronically. The following tools are provided for you to submit your project and to manage your project submission. Please read these descriptions carefully.

submit

The primary tool used for project submission is submit. This command is used to submit your project for grading. This command copies the project files you specify into your submittal directory which belongs to your instructor. Graders compile, execute and view your files in the submittal directory.

The format of the submit command for this course is

submit cs202 <Project Name> <list-of-files> where "Project Name" is Proj1, Proj2, Proj3, etc.

and "list-of-files" is the list of source files, makefile, read-me files, etc. that you wish to submit for your project.

For example, to submit the files Proj1.C and Bob.cpp for project 1, you would enter

submit cs202 Proj1 Proj1.cpp Bob.cpp After entering this command, you should get a confirmation that submit worked okay. Specifically, a confirmation will be printed for each file Submitting Proj1.cpp...OK Submitting Bob.cpp...OK You may submit the same file more than once for the same project. In this case, the submit command will ask you to verify that you want to overwrite the previously submitted file. Only the most recently submitted file will be graded. For example, if you were to submit a new version of Bob.cpp for Proj1, you would enter submit cs202 Proj1 Bob.cpp amd see the message It seems you have already submitted a file named Bob.cpp. Do you wish to overwrite? (y/n): Enter "y" to submit a new version of Bob.cpp (the old one is gone forever) or enter "n" to abort the submittal.

submitls

This command allows you to list (like the Unix ls command) all of the files in your submittal directory for a particular project. The format of the submitls command for this course is submitls cs202 <Project Name> where once again "Project Name" is one of Proj1, Proj2, etc.

submitrm

This command allows you to delete (like the Unix rm command) files from your submittal directory for a particular project.
The format of the submitrm command for this course is submitrm cs202 <Project Name> <list-of-files-to-delee> where "Project Name" is one of Proj1, Proj2, etc.

For example, to delete Bob.cpp from your Project 1 submittal directory, use the command

submitrm cs202 Proj1 Bob.cpp If successful, the command will respond with the message Deleting Bob.cpp
If unsuccessful, the command responsds with the message I can't seem to find Bob.cpp. <shrug>

submitmake

submitmake is a C program that is available from Mr. Frey's public directory /afs/umbc.edu/users/d/e/dennis/pub/CMSC202

This program compiles and links your program in your submittal directory just like the graders will. To execute this program provide the full absolute path name to the submitmake program in Mr. Frey's public directory at the unix prompt. For example, the command

/afs/umbc.edu/users/d/e/dennis/pub/CMSC202/submitmake cs202 Proj2 will run the command make Proj2 in your submittal directory. If successful, this program creates your executable named Proj2 (assuming you follow the course naming conventions). It deletes any .o files it creates, but leaves the executable untouched. You can delete it later using
submitrm

submitrun

submitrun is also a C program available in Mr. Frey's public directory /afs/umbc.edu/users/d/e/dennis/pub/CMSC202
The format for submitrun is /afs/umbc.edu/users/d/e/dennis/pub/CMSC202/submitrun cs202 <Project Name> <command-line-args> where "Project Name" is one of Proj1, Proj2, etc. and <command-line-args> are the command line arguments for your project.

If one of your project's command line arguments is a filename, that file should be in your local directory (not in your submital directory). submitrun assumes that the executable for your project already exists in your submittal directory and that it is named Proj1, Proj2, etc., per the course naming conventions.


Last Modified: Tuesday, 28-Dec-2004 14:59:20 EST