commit | d7ad33e45236f9a00a535dd63b56cc678fd19cc3 | [log] [tgz] |
---|---|---|
author | Udo Schnurpfeil <github@schnurpfeil.de> | Thu Aug 04 14:55:48 2022 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 04 14:55:48 2022 +0200 |
tree | b1576cc6bbeb27d2cba7e7dbd65129c5fb9061f3 | |
parent | 6a7c47ce40c78a869fc36d7f3c05f8bd503b1db8 [diff] |
Main checkstyle (#3049) * checkstyle * Update NavigationTree.java Co-authored-by: Udo Schnurpfeil <udo.schnurpfeil@irian.eu>
You need Maven 3 and Java 8 or later to build Tobago.
In the project directory you can use:
mvn clean install
to run the install target on all sub projects. This will put all necessary artifacts into your local repository.
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean jetty:run -Pjetty
Browse to the local URL http://localhost:8080/
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean jetty:run -Pjetty -Djsf=mojarra-3.0
Browse to the local URL http://localhost:8080/
Switch to sub-directory and call Maven to build and Docker to run the demo:
cd tobago-example/tobago-example-demo mvn clean install -Djsf=mojarra-3.0 docker run -it --rm -p 8080:8080 -v `pwd`/target/tobago-example-demo.war:/usr/local/tomcat/webapps/tobago-example-demo.war --name tobago-example-demo tomcat:10.0-jre11
Browse to the local URL http://localhost:8080/tobago-example-demo/