SE1021
Software Development II
Lab 8 Submission Form
For Dr. Yoder's Section
Submission Form for Dr. Yoder
Instructions (Lab due Friday of Wk 10 at 11pm (with a 1 hour grace period)
Create a JAR archive containing both your compiled and source code.
Upload the file through this website.
When you see the page say that the upload was successful, save the page for your records.
How to create a JAR file
As discussed in class, the steps for creating a JAR file are
- Menu: File → Project Structure
- Section: Artifacts
- In side window, click + (plus) sign, select JAR → from modules with dependencies
- To add source: In center window, click + (plus) sign, select Directory Content. Navigate to and select the
src
file for your project. - Click OK to close the Project Structure window and return to the main window.
- Menu: Build → Build Artifacts, then select Build for the jar file you just configured.
- The JAR file should appear in the out/artifacts folder.
- To test the JAR to see if it runs, right click and select Show in explorer. Double-click the JAR file in explorer to run it.
- To test the JAR to ensure it includes the source, copy the JAR file and change the extension to .zip. (You may need to search for "show extensions" in the Windows start menu and disable "hide extensions for known file-types" in order for the file extension to appear on the screen.)
- Open the ZIP file and ensure that it includes both files ending in .class and files ending in .java. (Again, disabling "hide extensions for known file-types" may be important for this step.)
- Upload the file as described above.
- Save the page saying the upload was successful as mentioned above.