Your submission of assignments and projects should always take the form of a single file, either a PDF file or a tarball. Tarballs
are produced by running the
tar command with appropriate arguments. The purpose of this page is to describe how to produce acceptable
To produce a tarball, you must first have the
tar command installed on your machine. The Ubuntu VM provided for this class already comes prepackaged with
tar. So, no setup is necessary.
Please adhere to the following naming conventions for your submitted files:
assignment#.pdf, where # is the number of the assignment.
project#.tar.gz, where # is the number of the project.
javac path/to/main.javawhere all dependencies are built-in; hence, submissions should not rely on any build tools such as Maven or Ant.
project#.report.pdf. It should be placed at the top level of your directory hierarchy.
project#.study.pdf. It should be placed at the top level of your directory hierarchy.
Here is how you can create a tarball from within the VM. Within this section, the pound sign ('#') should be replaced by the project number.
# 1.1 Open a command prompt/terminal and navigate to your home directory cd ~ # 1.2 Create the top-level directory mkdir project#
# NOTE: assuming the following # The original source code is contained within the ~/src/ directory # The original project report is located at ~/report.pdf # The original design study is located at ~/designStudy.pdf # 2.1 Copy the source code into top-level directory cp -r ~/src ~/project#/src # 2.2 Copy the project report into the ~/project# directory cp ~/report.pdf ~/project#/project#.report.pdf # 2.3 Copy the design study into the ~/project# directory cp ~/designStudy.pdf ~/project#/project#.study.pdf
# Run the tar command to produce a .tar.gz file tar -zcvf project#.tar.gz ~/project#
Finally, visit T-Square, and submit the tarball for the appropriate assignment.