You should submit any relevant code files (.cpp and .h or .java files), documentation about your project, and a Makefile that can be easily modified to work on the CS system (see a sample Makefile). In particular, it should not contain backup files, executables, or other binary files (.o or .class files). Points may be taken off if it is hard to determine which files are necessary to build the final version of your program. To facilitate cleaning up your working directory before you submit, two commands are provided for you in place of using rm directly (which can be error prone):
You should submit only code, text, HTML, or PDF, and possibly image files (gif or jpeg) or sound files (.au or .wav). You are free to use any programming environment available to complete your work, however, you are responsible for converting it into one of the standard formats listed above (most current programs can save or print files to a variety of alternate formats). In general, every program submitted should include documentation in addition to your source code files.
Below is the Unix command to create a tar file, see the tar help page for more details.
assuming you are in the directory above project_name when invoking tar and that the directory project_name contains only files you want to submit.tar cvzf <project_name>.tgz <project_name>
To submit a project, type the following Unix command at your shell prompt, where project_name will typically be provided on the project page:
You should get a message printed in your terminal window if the submit was successful. If you receive an error message when you run this command, it indicates a problem outside of your control. Please mail the professor in this case, including both the command you typed and the error message it printed. Without these two pieces of information, we cannot provide assistance. (Note, if you get an error message from your terminal, "command not found", then you will need to type out the full command name /afs/acpub/project/cps/bin/submit_cps108).submit_cps108 <project_name> <project_tarfile>
You can check the status of your submissions at any time by typing
submit_cps108 <project_name>
with no additional arguments. This should show you a list of the files you submitted and when you submitted them.