- Author: Jose B. Gomes
- Tutor: Keith Mannock
- Student Id: 12500741
- Date: 22 December 2012
This documentation assumes you have Java/javac correctly installed in your environment
Run the commands below from the root folder (sp212cw)
sp212cw/
tests/
battleships/
*.java
bin/
battleships/
*.class
src/
battleships/
*.java
lombok.jar
jUnit.jar
hamcrest.jar
java -classpath bin:lombok.jar battleships/BattleshipGame
javac -d bin -sourcepath src -classpath bin:lombok.jar src/battleships/*.java
javac -d bin -sourcepath tests -classpath bin:junit.jar tests/battleships/*.java
java -classpath bin:junit.jar:hamcrest.jar org.junit.runner.JUnitCore battleships.OceanTest