From 9aa09e77f82c7da914a87fb0324e432d7fc9497f Mon Sep 17 00:00:00 2001 From: Juraj Michalek Date: Sun, 29 Jun 2014 15:30:31 +0200 Subject: [PATCH] Add example with simple Jetty web app --- 19-war-jetty/build.gradle | 3 +++ 19-war-jetty/src/main/webapp/index.jsp | 5 +++++ README.md | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 19-war-jetty/build.gradle create mode 100644 19-war-jetty/src/main/webapp/index.jsp diff --git a/19-war-jetty/build.gradle b/19-war-jetty/build.gradle new file mode 100644 index 0000000..d13bcdb --- /dev/null +++ b/19-war-jetty/build.gradle @@ -0,0 +1,3 @@ +apply plugin: 'war' +apply plugin: 'jetty' + diff --git a/19-war-jetty/src/main/webapp/index.jsp b/19-war-jetty/src/main/webapp/index.jsp new file mode 100644 index 0000000..eac28d5 --- /dev/null +++ b/19-war-jetty/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +Hello Y Soft! + + \ No newline at end of file diff --git a/README.md b/README.md index ea5fdc5..eb85b51 100644 --- a/README.md +++ b/README.md @@ -197,3 +197,13 @@ Attach remote debugger from Ide. More information: http://georgik.sinusgear.com/2014/06/23/how-to-debug-gradle-script/ +## 19-war-jetty + +Simple web app deployed to local jetty. It will compile sources from +src/main/webapp into web application. + + gradle jettyRun + +Application is accessible at: http://localhost:8080/19-war-jetty + +Press CTRL+C to stop server. \ No newline at end of file