Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (11 sloc) 1.296 kb
abe8714c »
2012-07-05 Add README.md
1 SiteMesh 3 Hello World Demo using Gradle
2 =======================================
3 This is a very simple 'hello world' [SiteMesh 3](http://wiki.sitemesh.org/display/sitemesh3/SiteMesh+3+Overview) web-application. It demonstrates applying a page decorator to the content of a website. It uses the [Gradle build tool](http://www.gradle.org/) to download the SiteMesh jar and run the example using the [Jetty](http://www.eclipse.org/jetty/) WebServer.
4
5 It is essentially the [Getting Started](http://wiki.sitemesh.org/display/sitemesh3/Getting+Started+with+SiteMesh+3) tutorial ready-to-run with Gradle.
6
7 If you do not have Gradle installed on your sytem, you must [install Gradle](http://www.gradle.org/docs/current/userguide/installation.html) before proceeding.
8
9 To run the SiteMesh demo in Jetty:
10
11 gradle jettyRun
12
13 All required .jar files will be loaded automatically. You should then see output similar to the following:
14
15 > Building > :jettyRun > Running at http://localhost:8080/
16
17 You can then load [http://localhost:8080/hello.html](http://localhost:8080/hello.html) in your browser and see SiteMesh 3 in action.
18
19 Note: There is a way to run Gradle builds without requiring a previous Gradle install. If there is interest, that feature could be added to the demo.
20
21
Something went wrong with that request. Please try again.