# d20-charsheet # Building This guide assumes the following: * The directory you download this project to is called 'd20-charsheet' * Both java and maven's bin directories are on the PATH * The product is named 'd20-charsheet.jar' ## Tools Required 1. [Java Development Kit](http://www.oracle.com/technetwork/java/javase/downloads/index.html) 2. [Maven](https://maven.apache.org/download.cgi) ## Build Steps ### Building using Maven #### Build 1. Clone/Download this repository 2. Open a command prompt in d20-charsheet 3. Enter the command `mvn -f include/pom.xml clean package` #### Run * From the d20-charsheet directory, run the below command for your OS. * On Windows: `java -jar target\d20-charsheet.jar` * On OSX/Linux: `java -jar target/d20-charsheet.jar` **Currently, this can only be run from the 'd20-charsheet' directory!** ### Building using Eclipse #### Build 1. Clone/Download this repository to a directory in your Eclipse workspace 2. Go to `File > Import > Maven > Existing Maven Projects` 3. Follow the prompts to import the project 4. Go to `Run > Run Configurations` and press the white page icon (`New launch configuration`) 5. Select `d20-charsheet` as the project, and `org.leumasjaffe.charsheet.Test` as the main class. #### Run * Press the green arrow icon to `Run Test`