Hello World project for CS3250
An extensible "hello world" application in Java, intended to demonstrate the use of build automation (using Apache Ant), unit testing (using JUnit 5), style checking (using Checkstyle), and collaborative software development (using Git and GitHub). Created for use by students of Software Development Methods and Tools (CS 3250) at Metropolitan State University of Denver.
This repository contains all project-specific files needed to build, run, test, and evaluate the application.
The following must also be installed on the local system:
- A Java Development Kit (JDK) version 8 or higher
- Installation information can be found at the following locations:
- Apache Ant
- Installation information can be found at:
The following commands are appropriate for using a Command Line Interface (CLI).
git clone https://github.com/jody/helloCS3250.git
Creates a local copy of the project.
cd helloCS3250
Moves into the newly created project directory.
ant
Cleans the project directory, compiles the source code, packages the classes into an executable JAR file, and runs the program.
ant run
Runs the program, re-compiling and re-packaging only if necessary.
ant -p
Displays project help information.
ant test
Runs the project's unit tests via JUnit.
An HTML-formatted report will be produced in directory reports/testresults/
. Open index.html
to view the report.
ant checkstyle
Runs the project-specified code convention checks via Checkstyle.
An HTML-formatted report will be produced in directory reports/checkstyle
. Open checkstyle_report.html
to view the report.