Project Submission Instructions

This document outlines how to submit projects in CSE 2221/2231. In general, a project submission will require uploading to Carmen a ZIP file of your assignment Eclipse project and also one or more PDF files that contain the source code for your project. (The only exception is Project #1 in CSE 2221 for which no PDF file will be submitted.) This will make it easier to leave detailed comments for your code. To get a PDF of your source code, you will need to use Eclipse's print function, but instead of sending it to a printer, you will print it to a PDF. This will produce a PDF file of your source code that we can comment on.


Creating a ZIP file of your Eclipse project

Here are the steps to create a ZIP archive file directly in Eclipse.

  1. First, in the Package Explorer view, right-click on the project you wish to submit, and select Export... from the pop-up menu.

    Thumbnail for Screenshot029.png Eclipse Package Explorer context menu open over a project with the Export... menu item highlighted; the package explorer pane showing project folders and files is visible in the background; visible text includes Export...;

  2. Next, in the Export window, expand the General entry and select Archive File. Click Next.

    Thumbnail for Screenshot030.png Eclipse Export dialog showing the General > Archive File option selected in the left tree; the main panel lists project resources with a project checkbox checked; a To archive file field displays a file path with a Browse button

  3. In the next window, make sure that the correct project and everything inside it is selected in the left panel, then in the To archive file box, enter the name of the ZIP file specifying a convenient location in the file system (you can either type the location directly or click the Browse... button to use a file selection dialog). Click Finish.

    Thumbnail for Screenshot031.png Eclipse Export Archive File dialog showing the Package Explorer project tree on the left with the project checkbox checked and project resources listed in the main panel; a To archive file field displays a file path with a Browse button to its right

A few additional notes about project submissions:


Printing your code to a PDF file

The process for printing to a PDF file in Eclipse is slightly different for Windows and Mac. Both processes are detailed below.

Printing to PDF on Windows

The following goes over the process for printing source code to a PDF for Eclipse on Windows.

  1. Select the source file you want to make a PDF of and then open the File menu and click on "Print...".

    Thumbnail for Screenshot001.png Eclipse IDE window with the File menu dropdown open and the Print... menu item highlighted; a source code file with lines of code and line numbers visible in the editor behind the menu

  2. In the Print dialogue, select "Microsoft Print to PDF" as the printer.

    Thumbnail for Screenshot002.png Eclipse Print dialog showing the printer selection with Microsoft Print to PDF selected; preview pane displays source code with line numbers

  3. This will open a save dialogue. Name your PDF file the same as your source file and then save it in your desired location.

    Thumbnail for Screenshot003.png Save dialog titled Save Print Output As showing a File name field containing an example file name, a Save as type set to PDF, Save and Cancel buttons, and a left navigation pane with folders; the dialog overlays the Eclipse IDE with source code visible behind;

Printing to PDF on Mac

The following goes over the process for printing source code to a PDF for Eclipse on Mac.

  1. Select the source file you want to make a PDF of and then open the File menu and click on "Print...".

    Thumbnail for Screenshot004.png Eclipse IDE window showing a source code file open with line numbers and the File menu dropdown displayed; the Print... menu item is highlighted. The left Package Explorer pane shows project folders and files.

  2. In the Print dialogue, open the PDF dropdown menu and click on "Save as PDF".

    Thumbnail for Screenshot005.png Mac Print dialog from Eclipse on a Mac with the PDF dropdown menu expanded and the Save as PDF option visible and highlighted; preview pane shows source code with line numbers and the Package Explorer is visible on the left of the Eclipse workspace;

  3. This will open a save dialogue. Name your PDF file the same as your source file and then save it in your desired location.

    Thumbnail for Screenshot006.png Save dialog over the Eclipse IDE showing a File name field populated with an example filename, a Format or Save as type indicating PDF, and Save and Cancel buttons; left sidebar shows folders and locations; dialog overlays source code editor with line numbers visible behind;

If the "Print..." option is not enabled, follow the instructions here to add a fictitious printer and enable this feature.


Uploading to Carmen

You will submit both a ZIP file and one or more PDF files for projects. The following goes over the process for uploading your files to Carmen.

  1. First upload your project ZIP file as the first file in your submission. After it is uploaded, click on "Add Another File".

    Thumbnail for Screenshot007.png Web browser file upload section on a Carmen assignment submission page showing the first file uploaded listed with a filename field and a Browse button; a prominent Add Another File link is visible to add additional uploads;

  2. This will create another "Browse..." button to add another file.

    Thumbnail for Screenshot008.png Carmen assignment upload interface in a web browser showing file upload fields: the first row lists an uploaded ZIP file and the second row shows an empty file slot with a Browse button; visible text includes Add Another File and Browse;

  3. Click on "Browse..." and select a PDF of your project source code.

    Thumbnail for Screenshot009.png File selection dialog for choosing a PDF to upload to Carmen; a list of files and folders is visible with one PDF file highlighted; dialog shows filename, file type, and action buttons Open and Cancel;

  4. If you have more than one PDF file to submit, repeat the two steps above for each PDF file.

  5. After the PDF file(s) is uploaded, click on "Submit Assignment".

    Thumbnail for Screenshot010.png Carmen assignment submission page in a web browser showing the file upload area with an uploaded ZIP file listed in the first row and a second empty row ready for a PDF upload, Add Another File link and Browse buttons next to file fields, and a Submit Assignment button visible at the bottom;