We have included an already created JAR file and Javadocs that can be found at ...\Project\Documents\'Phase 4 JAR and Javadocs'.
If you want to run the project on your own or create your own JAR files and Javadocs, then follow
the steps below.
If a .jar file hasn't been created, you can run the project directly using Maven and the command mvn javafx:run in the C:\...\Project path.
In the directory of where the project was cloned to (should be path C:\...\Project), run mvn package in a terminal/command line window to create the JAR file.
The JAR file should have been created in the ...\Project\target folder as Escape-From-Corona.jar.
To run the JAR file:
- Double-click on the file; or
- Right click on the file and click
Open; or - Open a terminal/command-line window in the directory and run the following command:
java -jar Escape-From-Corona.jar
Javadocs can be created by running mvn javadoc:javadoc in the C:\...\Project path.
To view the created Javadocs, go to ...\Project\target\site\apidocs where there should be mulitple .html files. Open index.html in a browser, and all documented classes and functions using Javadocs should be viewable.
In the C:\...\Project path, run mvn test to run all tests.
A video tutorial showcasing the project can be found at https://www.youtube.com/watch?v=l2fZTEQB7kQ
Created by:
- Stephen Dao
- Danyaal Patel
- Peter Salnikov
- Brendan Saw