Java Guild course · Reference card

Reference · delivery

Submission Checklist

Print this. Work down it the evening you send. It exists so the last five minutes cannot undo the previous fifteen hours.

1 · The code

2 · The tests

3 · The git history

4 · The README

5 · Packaging

# Clean first - .class files are the main cause of quarantined attachments
cd ~/Desktop/java-guild-candidate-test-intermediate-main
export JAVA_HOME=$(/usr/libexec/java_home -v 25)
~/.local/maven/bin/mvn clean
git status --short          # must print nothing

cd ..
zip -qr tom-spencer-library-management-system.zip \
    java-guild-candidate-test-intermediate-main \
    -x '*/target/*' -x '*/.idea/*' -x '*.DS_Store'

6 · Verify as the assessor

Do not skip this

Unzip somewhere clean and do exactly what they will do:

mkdir /tmp/assessor && cd /tmp/assessor
unzip -q ~/Desktop/tom-spencer-library-management-system.zip
cd java-guild-candidate-test-intermediate-main

git log --oneline       # history survived the zip?
git status --short      # clean tree?
mvn clean test          # builds from cold?

Expected, from the reference solution:

Tests run: 15, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS

Then run the program and add a book, borrow it, exit, restart, and confirm it is still borrowed. Ninety seconds, and it is the last chance to catch something that only works on your machine.

7 · GitHub, as a supplement

8 · The email

If the zip bounces

The brief permits .7z. Failing that, send the GitHub link and say the zip was blocked by a mail filter — so it reads as a mail-server problem, not as you ignoring the instruction.

9 · Before the interview