Submit

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. Don't wait until the last minute to verify that you can use submit for the first homework or project where its use is required. If you try these commands on GL and they do not work, please contact a TA or the instructer asap.

The submit commands available on GL are:

  • submit <course> <project> <file(s)> — submit assignments
  • submitls <course> <project> — lists files that you have submitted
  • submitrm <course> <project> <file(s)> — removes files that you have submitted

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

Don't wait until the lost minute to verify that you can use submit for HW1. If you try these commands on GL and they do not work, please contact a TA or the instructer asap.

submit

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

linux3[2]% submit cs332 HW3 Foo.java
Submitting Foo.java...OK
linux3[3]% submit cs331 HW3 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 (i.e. internet access or computer dies), you will at least have something submitted.

linux3[4]% submit cs331 test 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 cs331 HW3
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 cs331 HW3
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 cs331 HW3 Baz.java
Deleting Baz.java
linux3[7]% submitls cs331 HW3
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]%