-
Notifications
You must be signed in to change notification settings - Fork 2
Development Setup
To develop on the lending system for Darmstadt Spielt, you'll require some additional software:
- Git
- a Java 8 installation
- Maven 3, most IDEs already come packaged with maven. Therefore maven is only required if you want to run the tests or build the application without an additional IDE
To setup your development environment please start by cloning or forking this repository. Afterwards the installation of the your development environment depends on your used IDE:
-
Before importing the lending project into eclipse you'll need to install some plugins from the marketplace. These plugins are:
- JBoss Tools
- Scala IDE
-
In addition you'll need to install an additional plugin via a download source (
Help -> Install New Software
): -
Next you'll need to import the lending project in eclipse. This can be done by selecting
File -> Import ...
. In the opened dialog you'll need to selectMaven -> Existing Maven Projects
. There, please select your cloned git repository. After importing the lending project and its child projects you'll be asked to add the two build-helper plugins:build-helper-maven-plugin:x.x.x:add-source
andbuild-helper-maven-plugin:x.x.x:add-test-source
.
To run the tests right click on the lending parent project and select Run as -> Maven test
To build the jar client and the server war and ear archives right click on the lending parent project and select Run as -> Maven build
, where you'll need to set clean package
as the goal.
In IntelliJ you can import the lending project by selecting File -> Open
. In the then opened dialog you need to select the cloned lending repository folder and press ok.
To run the tests open the terminal tab in the bottom part of IntelliJ and enter mvn clean test
inside.
To build the jar client and the server war and ear archives open the terminal tab in the bottom part of IntelliJ and enter mvn clean package
inside.
Open a terminal
To run the tests enter mvn clean test
inside the terminal.
To build the jar client and the server war and ear archives enter mvn clean package
inside the terminal.