demo: update
2 files changed
tree: c3c7564fd6ee5722746df0b6367b6b0c7f9f0123
  1. .github/
  2. src/
  3. tobago-assembly/
  4. tobago-core/
  5. tobago-example/
  6. tobago-theme/
  7. tobago-tool/
  8. .editorconfig
  9. .gitattributes
  10. .gitignore
  11. build-site.sh
  12. CI.md
  13. CODE_OF_CONDUCT.md
  14. CONTRIBUTING.md
  15. doap.rdf
  16. Jenkinsfile
  17. package.json
  18. pom.xml
  19. README.md
  20. settings-example.xml
  21. tobago-pmd-config.xml
README.md

Apache Tobago

License Tobago CI CodeQL Build Status ASF

Building

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.

Demo - Jetty - MyFaces - OWB

⚠ currently broken ⚠

  • Problem with CDI

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/

Demo - Jetty - Mojarra - Weld

⚠ some problems ⚠

  • AJAX is not working

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/

Demo - Tomcat - Mojarra - Weld (in Docker)

⚠ some problems ⚠

  • AJAX is not working

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/