(back to the documentation page)
When you are done with your assignment, you need to “export” your project from Eclipse. Below are instructions on how to export and submit your assignment:
Click on your project in the Package Explorer panel on the left side of the Eclipse window.
Go to File > Export.
Click on the triangle next to “General” in the dialog box. Select “File system” and click Next.
Make sure the project folder on the left of the dialog and all files on the right are checked.
Click the “Browse” button next to the “To directory:” entry.
Select “Desktop” and click “Open.”
Click “Finish.” This should create a new folder on your desktop. The folder name should be the same as your Eclipse project name. Inside the folder, there should be a “src” folder (with your .java files) and a “bin” folder (with your .class files).
Rename this folder LabNN_LastNameFirstName or AssignmentNN_LastNameFirstName according to whether it is a lab or an assignment. NN is a two-digit integer indicating which lab (or assignment) this is, and you should use your actual first and last names.
Fill out the labNN.json or asgnNN.json file that came with the assignment and copy it into the exported directory at the top level. You should do the following:
Submit the folder you just created using the submit script. The script is located at /common/cs/cs062/bin/submit on both the lab computers and remotely-accessible machines (e.g., little.cs.pomona.edu). You need to give the submit script the class and the name of the assignment you’re submitting (each lab and assignment should tell you what to submit as) along with the directory you want to submit. The directory you are submitting must exist on the Pomona CS servers—either on a lab computer or copied to a remotely-accessible comptuer.
The command will look something like this (assuming you followed the directions above; type this into the Terminal app):
/common/cs/cs062/bin/submit cs062 lab01 ~/Desktop/Lab01_MawhorterPeterIf the submit script does not print out “SUCCESS” then it did not work! Read the error message that it printed and try to correct it. For example, you may be missing a required file (all files are specified relative to the top-level directory that you just created on your desktop).
Submitting correctly is your responsibility, and if you forget to submit or submit unsuccessfully without following up, everyone will be unhappy.