strolch/strolch_minimal
Robert von Burg c404c56b8a [Major] Refactored startup so a Version must always be set
This implies having an appVersion.properties in each project which is an
actual Strolch app.
2016-04-06 21:25:59 +02:00
..
src [Major] Refactored startup so a Version must always be set 2016-04-06 21:25:59 +02:00
.gitignore [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
LICENSE [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
README.md [New] Added strolch_minimal and strolch_minimal_rest projects 2015-07-09 14:51:06 +02:00
pom.xml [Major] Refactored startup so a Version must always be set 2016-04-06 21:25:59 +02:00

README.md

Strolch Minimal

A minimal Strolch project which builds using Maven and the end result starts a console based Java Application.

Build

On the console run: $ mvn clean package This creates a tarball in target/strolch_minimal-${project.version}-bin.tar.gz

Run

Extract the tarball: $ cd target $ tar -xvzf strolch_minimal-1.0.0-SNAPSHOT-bin.tar.gz $ cd strolch_minimal-1.0.0-SNAPSHOT $ chmod u+x ./startup.sh $ ./startup.sh

Eclipse

In Eclipse create a runtime configuration with the following:

  • Name: Strolch Minimal
  • Main Class: li.strolch.minimal.main.Main
  • Program Arguments: --env dev --root-path ${project_loc}/src/runtime

Starting the application should now work.