Project Submission

The DoIT project submission system will be used for submission of projects for this course. The submit system is comprised of a set of commands available on GL that allows you to submit files electronically for grading. The submit commands available on GL are:

For this class, the value of <course> will always be “cmsc202”, so all commands will start with submit cs202.

submit

The submit <course> <project> <file(s)> command is used to submit files. You can specify one file at a time or multiple files.

linux3[2]% submit cmsc202 proj1 Foo.java
Submitting Foo.java...OK
linux3[3]% submit cmsc202 proj1 Bar.java Baz.java
Submitting Bar.java...OK
Submitting Baz.java...OK
linux3[4]%

You can also use the submit <course> <project> <file(s)> to overwrite previously submitted files. It doesn't hurt to submit what you have periodically. That way, if for some reason you are unable to submit nearer the deadline (e.g. internet access or computer dies), you will at least have something submitted.

linux3[4]% submit cs202 Proj1 Foo.java
It seems you have already submitted a file named Foo.java.
Do you wish to overwrite? (y/n):
y
Submitting Foo.java...OK
linux3[5]%

submitls

You can check and see what files you have submitted using the submitls <course> <project> command.

linux3[5]% submitls cs202 Proj1
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Bar.java
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Baz.java
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Foo.java
linux3[6]%

submitrm

If you accidentally submit a wrong file or you no longer need a file that is submitted, you can remove files using the submitrm <course> <project> <file(s)> command. Take note that when you do a submitrm, the file that you submitted is most likely gone for good and unable to be recovered.

linux3[5]% submitls cs202 Proj1
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Bar.java
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Baz.java
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Foo.java
linux3[6]% submitrm cs202 Proj1 Baz.java
Deleting Baz.java
linux3[7]% submitls cs202 Proj1
total 8
drwx------    2 dhood2   rpc          2048 Sep 13 16:04 .
drwx------   78 dhood2   rpc          4096 Sep 13 15:55 ..
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Bar.java
-rw-------    1 dhood2   rpc             0 Sep 13 16:04 Foo.java
linux3[8]%