Java Guild course · Reference card
Reference · delivery
Print this. Work down it the evening you send. It exists so the last five minutes cannot undo the previous fifteen hours.
mvn clean test is green from a cold startSystem.out.println debugging left in src/mainTODO, no FIXMEfinal parameters, javadoc on public members (the pom runs sun_checks)BookTest and LibraryTest exist — the Graduate requirement is named explicitly in the brief@TempDir everywheretest1, test2user.name and user.email are yours, not root@localhostgit stash and git checkoutgit status --short prints nothingtarget/, .idea/, libraryState.txt are all ignored and none is tracked — check with git ls-files | grep -E 'target|\.idea|libraryState'void returns, Optional — with reasons# 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'
.git directory is inside the zip — that is the pointtarget/ and .idea/ are nottarget/ got intom-spencer-library-management-system.zipUnzip 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.
solirius-library-management-systemThe 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.
git diff HEAD~12