- Note - this repo is forked of the location below. I've corrected some of the issues with getting the code to run locally on embedded Jetty.
- Install Git as described in the Pro Git book.
- Install Maven 3 if you don't have it as this project is a Maven based project.
Open your console / terminal window and clone the repository with
git clone git://github.com/ova2/primefaces-cookbook.git
You can now explore the source code with samples, compile and run the project. To install the project, go to the project root folder primefaces-cookbook and type the following command
mvn install
The demo web application is prepared to run with Jetty 8 server. To run it with JSF MyFaces implementation, type in the console / terminal window
mvn jetty:run
To run it with JSF Mojarra implementation, type
mvn jetty:run -Pmojarra
This starts Jetty server and the demo app is available under the following URL in a web browser
http://localhost:8080/primefaces-cookbook/
Jetty will continue to run until you stop it with a Ctrl+C in the console / terminal window where it is running.
We use Jenkins as continuous integration tool. It builds the project after each commit. You can download the runnable showcase from the Jenkins' last build. It's deployable on every Servlet 2.5 compatible servlet container.