Skip to content

Build & Run

Martin Schröder edited this page Jun 28, 2018 · 4 revisions

Building

Prerequisites for Building

  • Oracle Java Development Kit 8 or higher
  • Maven

Optionally IDEs like IntelliJ Idea or Eclipse can be used to build or at least run the program.

Build Instructions

Command: mvn package

Open a terminal in the project folder and use Maven to build the package. The command mvn package will compile the project, run all tests and pack a JAR-file, which will be located in {projecthome}/target, named OpenBooth-VERSION.jar (where version is something like 1.0-SNAPSHOT).

Running

Prerequisites for Running

  • Ubuntu or Fedora in a reasonably current version (other Linux Distributions will probably work)
  • gPhoto 2 installed

Command: java -jar OpenBooth-VERSION.jar

If you have already built the JAR-Package you can just run the package, ideally with a camera connected. Start the program with a double click or by using the terminal and the command java -jar OpenBooth-VERSION.jar

Clone this wiki locally